aboutsummaryrefslogtreecommitdiff
path: root/test/functional/preload.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/preload.lua')
-rw-r--r--test/functional/preload.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/preload.lua b/test/functional/preload.lua
index 74f03eaecf..43e2151f84 100644
--- a/test/functional/preload.lua
+++ b/test/functional/preload.lua
@@ -2,10 +2,10 @@
-- Busted started doing this to help provide more isolation. See issue #62
-- for more information about this.
local helpers = require('test.functional.helpers')(nil)
-local iswin = helpers.iswin
local busted = require("busted")
+local is_os = helpers.is_os
-if iswin() then
+if is_os('win') then
local ffi = require('ffi')
ffi.cdef[[
typedef int errno_t;