diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 03:05:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 03:05:22 -0800 |
commit | a064ed622927b4c5e30165abbe54db841359c71f (patch) | |
tree | 76973648e9ad684068457ff021b4d13281bfad84 /test/functional/vimscript/special_vars_spec.lua | |
parent | ee2127363463b89ba9d5071babcb9bd16c4db691 (diff) | |
parent | 04f2f864e270e772c6326cefdf24947f0130e492 (diff) | |
download | rneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.gz rneovim-a064ed622927b4c5e30165abbe54db841359c71f.tar.bz2 rneovim-a064ed622927b4c5e30165abbe54db841359c71f.zip |
Merge #26398 lintlua for test/ dir
Diffstat (limited to 'test/functional/vimscript/special_vars_spec.lua')
-rw-r--r-- | test/functional/vimscript/special_vars_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/vimscript/special_vars_spec.lua b/test/functional/vimscript/special_vars_spec.lua index 217f0b2c2b..4266336652 100644 --- a/test/functional/vimscript/special_vars_spec.lua +++ b/test/functional/vimscript/special_vars_spec.lua @@ -98,8 +98,8 @@ describe('Special values', function() eq(0, eval('0 + v:false')) eq(-1, eval('0 - v:true')) - eq( 0, eval('0 - v:null')) - eq( 0, eval('0 - v:false')) + eq(0, eval('0 - v:null')) + eq(0, eval('0 - v:false')) eq(1, eval('1 * v:true')) eq(0, eval('1 * v:null')) @@ -125,9 +125,9 @@ describe('Special values', function() end) it('work with . (concat) properly', function() - eq("v:true", eval('"" . v:true')) - eq("v:null", eval('"" . v:null')) - eq("v:false", eval('"" . v:false')) + eq('v:true', eval('"" . v:true')) + eq('v:null', eval('"" . v:null')) + eq('v:false', eval('"" . v:false')) end) it('work with ?? (falsy operator)', function() |