aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/vimscript_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:18 +0100
committerJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:29 +0100
commit04f2f864e270e772c6326cefdf24947f0130e492 (patch)
tree46f83f909b888a66c741032ab955afc6eab84292 /test/functional/legacy/vimscript_spec.lua
parent59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff)
downloadrneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip
refactor: format test/*
Diffstat (limited to 'test/functional/legacy/vimscript_spec.lua')
-rw-r--r--test/functional/legacy/vimscript_spec.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/functional/legacy/vimscript_spec.lua b/test/functional/legacy/vimscript_spec.lua
index 16a1080396..c97208059b 100644
--- a/test/functional/legacy/vimscript_spec.lua
+++ b/test/functional/legacy/vimscript_spec.lua
@@ -9,7 +9,7 @@ before_each(clear)
describe('Vim script', function()
-- oldtest: Test_deep_nest()
- it('Error when if/for/while/try/function is nested too deep',function()
+ it('Error when if/for/while/try/function is nested too deep', function()
local screen = Screen.new(80, 24)
screen:attach()
meths.set_option_value('laststatus', 2, {})
@@ -59,25 +59,25 @@ describe('Vim script', function()
let @a = ''
endfunc
]])
- screen:expect({any = '%[No Name%]'})
+ screen:expect({ any = '%[No Name%]' })
feed(':call Test1()<CR>')
- screen:expect({any = 'E579: '})
+ screen:expect({ any = 'E579: ' })
feed('<C-C>')
- screen:expect({any = '%[No Name%]'})
+ screen:expect({ any = '%[No Name%]' })
feed(':call Test2()<CR>')
- screen:expect({any = 'E585: '})
+ screen:expect({ any = 'E585: ' })
feed('<C-C>')
- screen:expect({any = '%[No Name%]'})
+ screen:expect({ any = '%[No Name%]' })
feed(':call Test3()<CR>')
- screen:expect({any = 'E585: '})
+ screen:expect({ any = 'E585: ' })
feed('<C-C>')
- screen:expect({any = '%[No Name%]'})
+ screen:expect({ any = '%[No Name%]' })
feed(':call Test4()<CR>')
- screen:expect({any = 'E601: '})
+ screen:expect({ any = 'E601: ' })
feed('<C-C>')
- screen:expect({any = '%[No Name%]'})
+ screen:expect({ any = '%[No Name%]' })
feed(':call Test5()<CR>')
- screen:expect({any = 'E1058: '})
+ screen:expect({ any = 'E1058: ' })
end)
-- oldtest: Test_typed_script_var()
@@ -85,6 +85,6 @@ describe('Vim script', function()
local screen = Screen.new(80, 24)
screen:attach()
feed(":echo get(s:, 'foo', 'x')\n")
- screen:expect({any = 'E116: '})
+ screen:expect({ any = 'E116: ' })
end)
end)