functests: Make json_functions_spec use new NIL where appropriate

This commit is contained in:
ZyX
2016-04-18 01:37:21 +03:00
parent 28275fe5c3
commit a64114eba0
5 changed files with 15 additions and 12 deletions

View File

@@ -32,6 +32,9 @@ describe('string() function', function()
eq('v:true', eval('string(v:true)'))
eq('v:false', eval('string(v:false)'))
eq('v:null', eval('string(v:null)'))
eq('v:true', funcs.string(true))
eq('v:false', funcs.string(false))
eq('v:null', funcs.string(NIL))
end)
it('dumps values with at most six digits after the decimal point',