aboutsummaryrefslogtreecommitdiff
path: root/lua/cursor.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-05 11:14:59 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-05 11:14:59 +0100
commit62fff9853ec326a21a3891b4d5a212dd69ba86a4 (patch)
tree4158f31adc6b4b9d900b84b0f00e5366769d1505 /lua/cursor.lua
parentb97c6d29b6a1c66c2596033cd255d6803939aba0 (diff)
downloadvis-62fff9853ec326a21a3891b4d5a212dd69ba86a4.tar.gz
vis-62fff9853ec326a21a3891b4d5a212dd69ba86a4.tar.xz
test/lua: fix luacheck warnings
Diffstat (limited to 'lua/cursor.lua')
-rw-r--r--lua/cursor.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/cursor.lua b/lua/cursor.lua
index 06d31a1..a42bd52 100644
--- a/lua/cursor.lua
+++ b/lua/cursor.lua
@@ -1,4 +1,4 @@
-local busted = require 'busted.runner'()
+require 'busted.runner'()
local win = vis.win
@@ -30,7 +30,7 @@ describe("win.cursor", function()
end)
describe("win.cursor.pos", function()
-
+
it("= 0", function()
win.cursor.pos = 0
assert.are.equal(0, win.cursor.pos)