aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/command_count_spec.lua
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-09-27 19:21:40 +0800
committerckelsel <ckelsel@hotmail.com>2017-09-27 19:21:40 +0800
commitdde62900c8cfed967bd54218c8eb0790954f8c14 (patch)
treec3bc82d0edcc3582578922bd0d13233ab751b576 /test/functional/legacy/command_count_spec.lua
parent3a1c33a6c3ad5074bfc442507282a438726f1b58 (diff)
parent542ed5f5d31647bfec6d3119f4e2993544530c35 (diff)
downloadrneovim-dde62900c8cfed967bd54218c8eb0790954f8c14.tar.gz
rneovim-dde62900c8cfed967bd54218c8eb0790954f8c14.tar.bz2
rneovim-dde62900c8cfed967bd54218c8eb0790954f8c14.zip
Merge branch 'master' of https://github.com/neovim/neovim into vim-8.0.0101
fix Conflicts
Diffstat (limited to 'test/functional/legacy/command_count_spec.lua')
-rw-r--r--test/functional/legacy/command_count_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/legacy/command_count_spec.lua b/test/functional/legacy/command_count_spec.lua
index ad5368430a..8707c0459c 100644
--- a/test/functional/legacy/command_count_spec.lua
+++ b/test/functional/legacy/command_count_spec.lua
@@ -4,6 +4,7 @@ local helpers = require('test.functional.helpers')(after_each)
local clear, source, expect = helpers.clear, helpers.source, helpers.expect
local feed_command = helpers.feed_command
+-- luacheck: ignore 613 (Trailing whitespace in a string)
describe('command_count', function()
it('is working', function()
-- It is relevant for the test to load a file initially. If this is
@@ -133,8 +134,8 @@ describe('command_count', function()
let g:lines = []
func BufStatus()
call add(g:lines,
- \ 'aaa: ' . buflisted(g:buf_aaa) .
- \ ' bbb: ' . buflisted(g:buf_bbb) .
+ \ 'aaa: ' . buflisted(g:buf_aaa) .
+ \ ' bbb: ' . buflisted(g:buf_bbb) .
\ ' ccc: ' . buflisted(g:buf_ccc))
endfunc
se nohidden
@@ -214,7 +215,7 @@ describe('command_count', function()
RangeTabsAll 1 5
RangeLines 2 5
LocalRangeLines 2 5
-
+
5argu E16: Invalid range
4argu d
1argu a
@@ -225,7 +226,7 @@ describe('command_count', function()
$tabe 2
$+tabe E16: Invalid range
0tabm x
-
+
aaa: 1 bbb: 1 ccc: 1
aaa: 1 bbb: 0 ccc: 0
aaa: 0 bbb: 0 ccc: 0