diff --git a/test/unit/garray.moon b/test/unit/garray.moon index 2a1472e09c..245245e33b 100644 --- a/test/unit/garray.moon +++ b/test/unit/garray.moon @@ -1,6 +1,6 @@ {:cimport, :internalize, :eq, :neq, :ffi, :lib, :cstr, :to_cstr} = require 'test.unit.helpers' -garray = cimport './src/garray.h' +garray = cimport './src/nvim/garray.h' -- handy constants NULL = ffi.cast 'void*', 0 diff --git a/test/unit/helpers.moon b/test/unit/helpers.moon index 8acbe8f992..84dfeb20e9 100644 --- a/test/unit/helpers.moon +++ b/test/unit/helpers.moon @@ -84,7 +84,7 @@ cimport = (...) -> cppimport = (path) -> return cimport Paths.test_include_path .. '/' .. path -cimport './src/types.h' +cimport './src/nvim/types.h' -- take a pointer to a C-allocated string and return an interned -- version while also freeing the memory diff --git a/test/unit/os/env.moon b/test/unit/os/env.moon index 4f2c45387e..545c1e84db 100644 --- a/test/unit/os/env.moon +++ b/test/unit/os/env.moon @@ -1,7 +1,7 @@ {:cimport, :internalize, :eq, :ffi, :lib, :cstr, :to_cstr} = require 'test.unit.helpers' require 'lfs' -env = cimport './src/os/os.h' +env = cimport './src/nvim/os/os.h' NULL = ffi.cast 'void*', 0 diff --git a/test/unit/os/fs.moon b/test/unit/os/fs.moon index b11e2515bd..d4d82661a3 100644 --- a/test/unit/os/fs.moon +++ b/test/unit/os/fs.moon @@ -2,7 +2,7 @@ require 'lfs' require 'bit' -fs = cimport './src/os/os.h' +fs = cimport './src/nvim/os/os.h' -- TODO(aktau): define these constants "better" FAIL = 0 diff --git a/test/unit/os/users.moon b/test/unit/os/users.moon index 261d1a8763..d6b618eb8c 100644 --- a/test/unit/os/users.moon +++ b/test/unit/os/users.moon @@ -1,6 +1,6 @@ {:cimport, :internalize, :eq, :ffi, :lib, :cstr} = require 'test.unit.helpers' -users = cimport './src/os/os.h', 'unistd.h' +users = cimport './src/nvim/os/os.h', 'unistd.h' NULL = ffi.cast 'void*', 0 OK = 1 diff --git a/test/unit/path.moon b/test/unit/path.moon index 6aecdfe67c..20bef4071c 100644 --- a/test/unit/path.moon +++ b/test/unit/path.moon @@ -1,7 +1,7 @@ {:cimport, :internalize, :eq, :neq, :ffi, :lib, :cstr, :to_cstr} = require 'test.unit.helpers' require 'lfs' -path = cimport './src/path.h' +path = cimport './src/nvim/path.h' -- import constants parsed by ffi {:kEqualFiles, :kDifferentFiles, :kBothFilesMissing, :kOneFileMissing, :kEqualFileNames} = path