test: fix pending() invocations

AFAICT busted does not report pending() invocations without the 2nd
argument.
This commit is contained in:
Justin M. Keyes
2015-08-07 18:25:03 -04:00
parent 62c53c404b
commit 5c1dc0fbe7
3 changed files with 5 additions and 5 deletions

View File

@@ -186,7 +186,7 @@ describe('system()', function()
describe("with a program that doesn't close stdout", function()
if not xclip then
pending('skipped (missing xclip)')
pending('skipped (missing xclip)', function() end)
else
it('will exit properly after passing input', function()
eq('', eval([[system('xclip -i -selection clipboard', 'clip-data')]]))
@@ -365,7 +365,7 @@ describe('systemlist()', function()
describe("with a program that doesn't close stdout", function()
if not xclip then
pending('skipped (missing xclip)')
pending('skipped (missing xclip)', function() end)
else
it('will exit properly after passing input', function()
eq({}, eval(