diff options
author | Daniel Hahler <git@thequod.de> | 2019-08-15 20:38:03 +0200 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2019-08-16 13:24:44 +0900 |
commit | ae601721065299425ec832e2ee7fd4cf91543256 (patch) | |
tree | 550b9897e4d54214fa112180973a797dc5002f20 | |
parent | 6261d2658fdff93a732b02d8fd6e386245968f2d (diff) | |
download | rneovim-ae601721065299425ec832e2ee7fd4cf91543256.tar.gz rneovim-ae601721065299425ec832e2ee7fd4cf91543256.tar.bz2 rneovim-ae601721065299425ec832e2ee7fd4cf91543256.zip |
windows: ok(#children >= 4 and #children <= 5)
-rw-r--r-- | test/functional/core/job_spec.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index a1d9f50720..6feec4e8a3 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -776,7 +776,13 @@ describe('jobs', function() local children retry(nil, nil, function() children = meths.get_proc_children(ppid) - eq((iswin() and 4 or 3), #children) + if iswin() then + -- On Windows there is conhost.exe always, + -- and e.g. vctip.exe might appear. #10783 + ok(#children >= 4 and #children <= 5) + else + eq(3, #children) + end end) -- Assert that nvim_get_proc() sees the children. for _, child_pid in ipairs(children) do |