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:
@@ -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:')
|
||||
|
||||
Reference in New Issue
Block a user