aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/lang_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-01-03 03:05:22 -0800
committerGitHub <noreply@github.com>2024-01-03 03:05:22 -0800
commita064ed622927b4c5e30165abbe54db841359c71f (patch)
tree76973648e9ad684068457ff021b4d13281bfad84 /test/functional/vimscript/lang_spec.lua
parentee2127363463b89ba9d5071babcb9bd16c4db691 (diff)
parent04f2f864e270e772c6326cefdf24947f0130e492 (diff)
downloadrneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.gz
rneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.bz2
rneovim-a064ed622927b4c5e30165abbe54db841359c71f.zip
Merge #26398 lintlua for test/ dir
Diffstat (limited to 'test/functional/vimscript/lang_spec.lua')
-rw-r--r--test/functional/vimscript/lang_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/vimscript/lang_spec.lua b/test/functional/vimscript/lang_spec.lua
index 90437f2ee1..2dde90e334 100644
--- a/test/functional/vimscript/lang_spec.lua
+++ b/test/functional/vimscript/lang_spec.lua
@@ -7,7 +7,7 @@ describe('vimscript', function()
it('parses `<SID>` with turkish locale', function()
if exc_exec('lang ctype tr_TR.UTF-8') ~= 0 then
- pending("Locale tr_TR.UTF-8 not supported")
+ pending('Locale tr_TR.UTF-8 not supported')
return
end
source([[
@@ -22,10 +22,10 @@ describe('vimscript', function()
it('str2float is not affected by locale', function()
if exc_exec('lang ctype sv_SE.UTF-8') ~= 0 then
- pending("Locale sv_SE.UTF-8 not supported")
+ pending('Locale sv_SE.UTF-8 not supported')
return
end
- clear{env={LANG="", LC_NUMERIC="sv_SE.UTF-8"}}
+ clear { env = { LANG = '', LC_NUMERIC = 'sv_SE.UTF-8' } }
eq(2.2, eval('str2float("2.2")'))
end)
end)