1
0
forked from aniani/vim

patch 8.2.1803: a few failures are not tested

Problem:    A few failures are not tested.
Solution:   Test a few failures. (Dominique Pellé, closes #7075)
This commit is contained in:
Bram Moolenaar
2020-10-05 20:07:18 +02:00
parent 44aefffaad
commit afe8cf6170
5 changed files with 15 additions and 2 deletions

View File

@@ -196,6 +196,7 @@ func Test_json_decode()
call assert_fails('call json_decode("{[]:42}")', "E491:")
call assert_fails('call json_decode("-")', "E491:")
call assert_fails('call json_decode("-1x")', "E491:")
call assert_fails('call json_decode("infinit")', "E491:")
call assert_fails('call json_decode("\"\\u111Z\"")', 'E491:')