tests: fix non-controversial misuse of pending (#11247)

Ref: https://github.com/neovim/neovim/pull/11184
This commit is contained in:
Daniel Hahler
2019-10-18 04:46:30 +02:00
committed by GitHub
parent 0785f8e8b1
commit 4bbad54817
8 changed files with 13 additions and 22 deletions

View File

@@ -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()