diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-06-24 09:18:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 09:18:26 -0400 |
commit | 47a15d0256170e9ce33cda23d8f0b39451fa7129 (patch) | |
tree | c18ff2bd259ba0bc25f397d1e48853f05dd43c18 /test/unit/helpers.lua | |
parent | 65af001f2bcc35f19d64b4d2c1dbcd46d87432e8 (diff) | |
parent | 4741c8b234eeaeac839b689d6316528ecc78a934 (diff) | |
download | rneovim-47a15d0256170e9ce33cda23d8f0b39451fa7129.tar.gz rneovim-47a15d0256170e9ce33cda23d8f0b39451fa7129.tar.bz2 rneovim-47a15d0256170e9ce33cda23d8f0b39451fa7129.zip |
Merge #4865 from ZyX-I/file-buffered-read
Use buffered reading/writing for ShaDa files
Diffstat (limited to 'test/unit/helpers.lua')
-rw-r--r-- | test/unit/helpers.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua index f0c193884e..91da459393 100644 --- a/test/unit/helpers.lua +++ b/test/unit/helpers.lua @@ -7,6 +7,7 @@ local global_helpers = require('test.helpers') local neq = global_helpers.neq local eq = global_helpers.eq +local ok = global_helpers.ok -- add some standard header locations for _, p in ipairs(Paths.include_paths) do @@ -34,7 +35,8 @@ local function filter_complex_blocks(body) if not (string.find(line, "(^)", 1, true) ~= nil or string.find(line, "_ISwupper", 1, true) or string.find(line, "msgpack_zone_push_finalizer") - or string.find(line, "msgpack_unpacker_reserve_buffer")) then + or string.find(line, "msgpack_unpacker_reserve_buffer") + or string.find(line, "inline _Bool")) then result[#result + 1] = line end end @@ -156,6 +158,7 @@ return { cimport = cimport, cppimport = cppimport, internalize = internalize, + ok = ok, eq = eq, neq = neq, ffi = ffi, |