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/ex_cmds/write_spec.lua | |
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/ex_cmds/write_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/write_spec.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/ex_cmds/write_spec.lua b/test/functional/ex_cmds/write_spec.lua index 3f54ff6f41..4f526ddfca 100644 --- a/test/functional/ex_cmds/write_spec.lua +++ b/test/functional/ex_cmds/write_spec.lua @@ -41,7 +41,7 @@ describe(':write', function() command("silent !ln -s test_bkc_file.txt test_bkc_link.txt") end if eval('v:shell_error') ~= 0 then - pending('Cannot create symlink', function()end) + pending('Cannot create symlink') end source([[ edit test_bkc_link.txt @@ -61,7 +61,7 @@ describe(':write', function() command("silent !ln -s test_bkc_file.txt test_bkc_link.txt") end if eval('v:shell_error') ~= 0 then - pending('Cannot create symlink', function()end) + pending('Cannot create symlink') end source([[ edit test_bkc_link.txt @@ -75,8 +75,7 @@ describe(':write', function() it("appends FIFO file", function() -- mkfifo creates read-only .lnk files on Windows if iswin() or eval("executable('mkfifo')") == 0 then - pending('missing "mkfifo" command', function()end) - return + pending('missing "mkfifo" command') end local text = "some fifo text from write_spec" |