diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-02-29 13:48:59 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2016-02-29 13:48:59 +0100 |
commit | 88da85a3cd88838a7779ad27c533e62f890e7b18 (patch) | |
tree | a093921af53c72b8c80d57d33c1fa0d6c2fb31e4 /test/functional/terminal/edit_spec.lua | |
parent | 9c4b34be284faa573a66f5fd68f111634f482f7c (diff) | |
download | rneovim-88da85a3cd88838a7779ad27c533e62f890e7b18.tar.gz rneovim-88da85a3cd88838a7779ad27c533e62f890e7b18.tar.bz2 rneovim-88da85a3cd88838a7779ad27c533e62f890e7b18.zip |
Tests: fix according to lualint
Diffstat (limited to 'test/functional/terminal/edit_spec.lua')
-rw-r--r-- | test/functional/terminal/edit_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/terminal/edit_spec.lua b/test/functional/terminal/edit_spec.lua index 3ad1b33970..6da1521121 100644 --- a/test/functional/terminal/edit_spec.lua +++ b/test/functional/terminal/edit_spec.lua @@ -26,7 +26,7 @@ describe(':edit term://*', function() meths.set_var('termopen_runs', {}) command('autocmd TermOpen * :call add(g:termopen_runs, expand("<amatch>"))') command('edit term://') - termopen_runs = meths.get_var('termopen_runs') + local termopen_runs = meths.get_var('termopen_runs') eq(1, #termopen_runs) eq(termopen_runs[1], termopen_runs[1]:match('^term://.//%d+:$')) end) @@ -59,7 +59,6 @@ describe(':edit term://*', function() -- contents: buffer starts with 87:, screen with 86:. local exp_screen = '\n' local did_cursor = false - local shift = 10 for i = 0,(winheight - 1) do local line = bufline(buf_cont_start + i - 1) exp_screen = (exp_screen |