diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-09-11 05:06:58 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-09-11 05:06:58 -0400 |
commit | 1da3398095b81a1f579a2d8d19864fdad8de0bde (patch) | |
tree | 53b6764cd02f55d11ff6f6f56a91d358b367ea7d /test/unit/path_spec.lua | |
parent | 7577c31ed08b0f4e1426f9e6a1da7d5fd55440bb (diff) | |
parent | 99a9161bace8200aa611f6feefcc2ac3eda93251 (diff) | |
download | rneovim-1da3398095b81a1f579a2d8d19864fdad8de0bde.tar.gz rneovim-1da3398095b81a1f579a2d8d19864fdad8de0bde.tar.bz2 rneovim-1da3398095b81a1f579a2d8d19864fdad8de0bde.zip |
Merge pull request #1144 from justinmk/fixtests
fix unittest issues with busted 2.x
Diffstat (limited to 'test/unit/path_spec.lua')
-rw-r--r-- | test/unit/path_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/path_spec.lua b/test/unit/path_spec.lua index 15888c71b9..1824eaeccc 100644 --- a/test/unit/path_spec.lua +++ b/test/unit/path_spec.lua @@ -13,6 +13,7 @@ local OK = helpers.OK local FAIL = helpers.FAIL require('lfs') +cimport('string.h') local path = cimport('./src/nvim/path.h') -- import constants parsed by ffi @@ -22,6 +23,9 @@ local kBothFilesMissing = path.kBothFilesMissing local kOneFileMissing = path.kOneFileMissing local kEqualFileNames = path.kEqualFileNames +local len = 0 +local buffer = nil + describe('path function', function() describe('path_full_dir_name', function() setup(function() |