diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-08-07 18:25:03 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-09 22:33:28 -0400 |
commit | 5c1dc0fbe7388528875aff9d7b5055ad718014de (patch) | |
tree | a676c9406c6edf9f46c1216fcaed0e781bf8734b /test/functional | |
parent | 62c53c404b6b7bc71c882fe6e620a9af972cb1fd (diff) | |
download | rneovim-5c1dc0fbe7388528875aff9d7b5055ad718014de.tar.gz rneovim-5c1dc0fbe7388528875aff9d7b5055ad718014de.tar.bz2 rneovim-5c1dc0fbe7388528875aff9d7b5055ad718014de.zip |
test: fix pending() invocations
AFAICT busted does not report pending() invocations without the 2nd
argument.
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/legacy/077_mf_hash_grow_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shell/viml_system_spec.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/legacy/077_mf_hash_grow_spec.lua b/test/functional/legacy/077_mf_hash_grow_spec.lua index 01d916ef04..825f08e968 100644 --- a/test/functional/legacy/077_mf_hash_grow_spec.lua +++ b/test/functional/legacy/077_mf_hash_grow_spec.lua @@ -15,7 +15,7 @@ describe('mf_hash_grow()', function() -- Check to see if cksum exists, otherwise skip the test if os.execute('which cksum 2>&1 > /dev/null') ~= 0 then - pending("was not tested because cksum was not found") + pending('was not tested because cksum was not found', function() end) else it('is working', function() execute('set fileformat=unix undolevels=-1') diff --git a/test/functional/shell/viml_system_spec.lua b/test/functional/shell/viml_system_spec.lua index 6e10715612..4985c24aec 100644 --- a/test/functional/shell/viml_system_spec.lua +++ b/test/functional/shell/viml_system_spec.lua @@ -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( |