aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-08-09 22:34:07 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-08-09 22:34:07 -0400
commit389c3b8581e0b69a987fecb2b9f9ebaa15746c2d (patch)
treea676c9406c6edf9f46c1216fcaed0e781bf8734b /test/unit
parent21c0d87a242a50e09445ece0fdef8780394f6457 (diff)
parent5c1dc0fbe7388528875aff9d7b5055ad718014de (diff)
downloadrneovim-389c3b8581e0b69a987fecb2b9f9ebaa15746c2d.tar.gz
rneovim-389c3b8581e0b69a987fecb2b9f9ebaa15746c2d.tar.bz2
rneovim-389c3b8581e0b69a987fecb2b9f9ebaa15746c2d.zip
Merge #3149 'Fix pending() invocations'.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/os/fs_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/os/fs_spec.lua b/test/unit/os/fs_spec.lua
index 20aca9109e..f7f0cba951 100644
--- a/test/unit/os/fs_spec.lua
+++ b/test/unit/os/fs_spec.lua
@@ -270,7 +270,7 @@ describe('fs function', function()
-- Some systems may not have `id` utility.
if (os.execute('id -G > /dev/null 2>&1') ~= 0) then
- pending('skipped (missing `id` utility)')
+ pending('skipped (missing `id` utility)', function() end)
else
it('owner of a file may change the group of the file to any group of which that owner is a member', function()
local file_gid = lfs.attributes(filename, 'gid')
@@ -296,7 +296,7 @@ describe('fs function', function()
-- On Windows `os_fchown` always returns 0
-- because `uv_fs_chown` is no-op on this platform.
if (ffi.os == 'Windows' or ffi.C.geteuid() == 0) then
- pending('skipped (os_fchown is no-op on Windows)')
+ pending('skipped (os_fchown is no-op on Windows)', function() end)
else
it('returns nonzero if process has not enough permissions', function()
-- chown to root