From 0062c65ba8eec61df80caa99de7ed148e863fbdb Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 10 Aug 2019 11:46:26 +0200 Subject: test/cmdline_spec: adjust "no-op" (0 is not really a no-op, it moves the cursor.) Attempt to avoid flaky test: test/functional/ui/cmdline_spec.lua @ 830 Failure message: ./test/functional/ui/screen.lua:579: Row 2 did not match. Expected: | | |*{1:~ }| |{3: }| |:012345678901234567890123| |456789^ | Actual: | | |*{3: }| |:012345678901234567890123| |:012345678901234567890123| |456789^ | ./test/functional/ui/screen.lua:579: in function '_wait' ./test/functional/ui/screen.lua:367: in function 'expect' test/functional/ui/cmdline_spec.lua:841: in function ref https://github.com/neovim/neovim/pull/10171#issuecomment-520134344 ref #10171 --- test/functional/ui/cmdline_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua index c63b726308..1c4d5a5c6b 100644 --- a/test/functional/ui/cmdline_spec.lua +++ b/test/functional/ui/cmdline_spec.lua @@ -828,7 +828,7 @@ describe('cmdline redraw', function() end) it('with ', function() - command('cmap a 0') -- no-op + command('cmap a call sin(0)') -- no-op feed(':012345678901234567890123456789') screen:expect{grid=[[ | -- cgit