aboutsummaryrefslogtreecommitdiff
path: root/test/unit/os/fs_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/os/fs_spec.lua')
-rw-r--r--test/unit/os/fs_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/os/fs_spec.lua b/test/unit/os/fs_spec.lua
index 67ca8f6c24..eefb1c6867 100644
--- a/test/unit/os/fs_spec.lua
+++ b/test/unit/os/fs_spec.lua
@@ -11,6 +11,7 @@ local cstr = helpers.cstr
local to_cstr = helpers.to_cstr
local OK = helpers.OK
local FAIL = helpers.FAIL
+local NULL = helpers.NULL
require('lfs')
require('bit')
@@ -118,7 +119,7 @@ describe('fs function', function()
end)
describe('os_can_exe', function()
- local function os_can_exe(name)
+ local function os_can_exe(name, NULL)
return fs.os_can_exe((to_cstr(name)))
end