aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-08-16 13:34:53 +0900
committererw7 <erw7.github@gmail.com>2019-08-16 13:34:53 +0900
commite82fc20f23b29e4a263bf4ee3282564b11bf873a (patch)
tree38a241f8a82360a2c6907c1c805ce8f1aaf2050f
parentae601721065299425ec832e2ee7fd4cf91543256 (diff)
downloadrneovim-e82fc20f23b29e4a263bf4ee3282564b11bf873a.tar.gz
rneovim-e82fc20f23b29e4a263bf4ee3282564b11bf873a.tar.bz2
rneovim-e82fc20f23b29e4a263bf4ee3282564b11bf873a.zip
windows: ok(#children >= 3 and #chidlen <= 5)
Depending on the version of Windows, conhost.exe may not be included in the child process.
-rw-r--r--test/functional/core/job_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index 6feec4e8a3..adc9f88099 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -777,9 +777,9 @@ describe('jobs', function()
retry(nil, nil, function()
children = meths.get_proc_children(ppid)
if iswin() then
- -- On Windows there is conhost.exe always,
- -- and e.g. vctip.exe might appear. #10783
- ok(#children >= 4 and #children <= 5)
+ -- On Windows conhost.exe may exist, and
+ -- e.g. vctip.exe might appear. #10783
+ ok(#children >= 3 and #children <= 5)
else
eq(3, #children)
end