diff options
author | Daniel Hahler <git@thequod.de> | 2019-10-18 04:46:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 04:46:30 +0200 |
commit | 4bbad5481773ac2a273a41a9fe8035ca57e03cd8 (patch) | |
tree | bc35ec0b5848236bd8f0fb049c56a73913fec407 /test/functional/ui | |
parent | 0785f8e8b11b2fa290cfbc0604d570f49b954ba6 (diff) | |
download | rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.tar.gz rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.tar.bz2 rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.zip |
tests: fix non-controversial misuse of `pending` (#11247)
Ref: https://github.com/neovim/neovim/pull/11184
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/cmdline_spec.lua | 3 | ||||
-rw-r--r-- | test/functional/ui/embed_spec.lua | 3 | ||||
-rw-r--r-- | test/functional/ui/output_spec.lua | 6 |
3 files changed, 4 insertions, 8 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua index fe1b2c13d1..c2354103c2 100644 --- a/test/functional/ui/cmdline_spec.lua +++ b/test/functional/ui/cmdline_spec.lua @@ -821,8 +821,7 @@ describe('cmdline redraw', function() it('with <Cmd>', function() if 'openbsd' == helpers.uname() then - pending('FIXME #10804', function() end) - return + pending('FIXME #10804') end command('cmap a <Cmd>call sin(0)<CR>') -- no-op feed(':012345678901234567890123456789') diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua index f3cd223f53..8218c8e12d 100644 --- a/test/functional/ui/embed_spec.lua +++ b/test/functional/ui/embed_spec.lua @@ -50,8 +50,7 @@ local function test_embed(ext_linegrid) it("doesn't erase output when setting color scheme", function() if 'openbsd' == helpers.uname() then - pending('FIXME #10804', function() end) - return + pending('FIXME #10804') end startup('--cmd', 'echoerr "foo"', '--cmd', 'color default', '--cmd', 'echoerr "bar"') screen:expect([[ diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index a201dfe898..9b1e803649 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -51,8 +51,7 @@ describe("shell command :!", function() it("throttles shell-command output greater than ~10KB", function() if 'openbsd' == helpers.uname() then - pending('FIXME #10804', function() end) - return + pending('FIXME #10804') end child_session.feed_data(":!"..nvim_dir.."/shell-test REP 30001 foo\n") @@ -96,8 +95,7 @@ describe("shell command :!", function() it('handles control codes', function() if iswin() then - pending('missing printf', function() end) - return + pending('missing printf') end local screen = Screen.new(50, 4) screen:attach() |