aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-02-17 00:36:59 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-02-19 07:10:46 -0500
commit07dfe0f5ea31521679926b7aeacde5e3944246ea (patch)
tree35e8b76bfff0ab75fd84e9d783eb49138fd91310
parent8dcfd58e2c20adea1eb69a97dead7a45d5beb170 (diff)
downloadrneovim-07dfe0f5ea31521679926b7aeacde5e3944246ea.tar.gz
rneovim-07dfe0f5ea31521679926b7aeacde5e3944246ea.tar.bz2
rneovim-07dfe0f5ea31521679926b7aeacde5e3944246ea.zip
test: win: enable ui/wildmode_spec.lua
-rw-r--r--test/functional/ui/wildmode_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/wildmode_spec.lua b/test/functional/ui/wildmode_spec.lua
index 042969357e..946194ed13 100644
--- a/test/functional/ui/wildmode_spec.lua
+++ b/test/functional/ui/wildmode_spec.lua
@@ -60,15 +60,15 @@ describe("'wildmenu'", function()
command('set wildmenu wildmode=full')
command('set scrollback=4')
if iswin() then
- if helpers.pending_win32(pending) then return end
- -- feed([[:terminal 1,2,3,4,5 | foreach-object -process {echo $_; sleep 0.1}]])
+ helpers.set_shell_powershell()
+ feed([[:terminal for ($i = 1; $i -le 5000; $i++) {Write-Output foo foo foo; Start-Sleep -Milliseconds 100}<cr>]])
else
feed([[:terminal for i in $(seq 1 5000); do printf 'foo\nfoo\nfoo\n'; sleep 0.1; done<cr>]])
end
feed([[<C-\><C-N>gg]])
feed([[:sign <Tab>]]) -- Invoke wildmenu.
- screen:sleep(50) -- Allow some terminal output.
+ screen:sleep(iswin() and 500 or 50) -- Allow some terminal output.
screen:expect([[
foo |
foo |
@@ -80,7 +80,7 @@ describe("'wildmenu'", function()
-- cmdline CTRL-D display should also be preserved.
feed([[<C-\><C-N>]])
feed([[:sign <C-D>]]) -- Invoke cmdline CTRL-D.
- screen:sleep(50) -- Allow some terminal output.
+ screen:sleep(iswin() and 500 or 50) -- Allow some terminal output.
screen:expect([[
:sign |
define place |