aboutsummaryrefslogtreecommitdiff
path: root/test/unit/buffer_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
commit369c1fdb259daf4f305ada8744e0564250480398 (patch)
treee61dc677cf85faa79a92814cbdadb63de7477635 /test/unit/buffer_spec.lua
parent97cee2c2e39888b33a546ba5ffe37c510740c3a5 (diff)
parentd9fbc1865bf5237235e96ae8822326faa84ff9fc (diff)
downloadrneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.gz
rneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.bz2
rneovim-369c1fdb259daf4f305ada8744e0564250480398.zip
Merge PR #3687 'Add luacheck for linting tests'
Diffstat (limited to 'test/unit/buffer_spec.lua')
-rw-r--r--test/unit/buffer_spec.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/unit/buffer_spec.lua b/test/unit/buffer_spec.lua
index 05fba684d6..a2e7bd91af 100644
--- a/test/unit/buffer_spec.lua
+++ b/test/unit/buffer_spec.lua
@@ -5,13 +5,10 @@ local helpers = require("test.unit.helpers")
local to_cstr = helpers.to_cstr
local eq = helpers.eq
local neq = helpers.neq
+local NULL = helpers.NULL
local globals = helpers.cimport("./src/nvim/globals.h")
local buffer = helpers.cimport("./src/nvim/buffer.h")
-local fileio = helpers.cimport("./src/nvim/fileio.h")
-local ex_docmd = helpers.cimport("./src/nvim/ex_docmd.h")
-local window = helpers.cimport("./src/nvim/window.h")
-local option = helpers.cimport("./src/nvim/option.h")
describe('buffer functions', function()
@@ -215,7 +212,7 @@ describe('buffer functions', function()
describe('build_stl_str_hl', function()
- output_buffer = to_cstr(string.rep(" ", 100))
+ local output_buffer = to_cstr(string.rep(" ", 100))
local build_stl_str_hl = function(pat)
return buffer.build_stl_str_hl(globals.curwin,