functests: Make sure that json functions are tested with C messages

This commit is contained in:
ZyX committed 2016-04-18 02:48:20 +03:00
1 parent 4eb5d05f01
commit b725f6b428
1 file changed
+5 -1
+5 -1
View File
@@ -10,6 +10,7 @@ local exc_exec = helpers.exc_exec
describe('json_decode() function', function()
local restart = function(cmd)
clear(cmd)
execute('language C')
execute([[
function Eq(exp, act)
let act = a:act
@@ -449,7 +450,10 @@ describe('json_decode() function', function()
end)
describe('json_encode() function', function()
before_each(clear)
before_each(function()
clear()
execute('language C')
end)
it('dumps strings', function()
eq('"Test"', funcs.json_encode('Test'))