aboutsummaryrefslogtreecommitdiff
path: root/test/unit/path_spec.moon
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/path_spec.moon')
-rw-r--r--test/unit/path_spec.moon5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/path_spec.moon b/test/unit/path_spec.moon
index 4a4170e463..0786fe6c01 100644
--- a/test/unit/path_spec.moon
+++ b/test/unit/path_spec.moon
@@ -1,13 +1,10 @@
-{:cimport, :internalize, :eq, :neq, :ffi, :lib, :cstr, :to_cstr} = require 'test.unit.helpers'
+{:cimport, :internalize, :eq, :neq, :ffi, :lib, :cstr, :to_cstr, :NULL, :OK, :FAIL} = require 'test.unit.helpers'
require 'lfs'
path = cimport './src/nvim/path.h'
-- import constants parsed by ffi
{:kEqualFiles, :kDifferentFiles, :kBothFilesMissing, :kOneFileMissing, :kEqualFileNames} = path
-NULL = ffi.cast 'void*', 0
-OK = 1
-FAIL = 0
describe 'path function', ->
describe 'path_full_dir_name', ->