diff options
Diffstat (limited to 'test/functional/preload.lua')
-rw-r--r-- | test/functional/preload.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/preload.lua b/test/functional/preload.lua index 74f03eaecf..6a5a2e907e 100644 --- a/test/functional/preload.lua +++ b/test/functional/preload.lua @@ -2,10 +2,11 @@ -- 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 +require('test.functional.ui.screen') 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; |