mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
refactor: format test/*
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user