aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/lang_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/vimscript/lang_spec.lua
parent59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff)
downloadrneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip
refactor: format test/*
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)