diff options
Diffstat (limited to 'test/json102.test')
-rw-r--r-- | test/json102.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/json102.test b/test/json102.test index da9fbd1b7..950d4196b 100644 --- a/test/json102.test +++ b/test/json102.test @@ -278,4 +278,11 @@ do_execsql_test json102-1132 { } {123} } ;# end ifcapable vtab +#------------------------------------------------------------------------- +# Test that json_valid() correctly identifies non-ascii range +# characters as non-whitespace. +# +do_execsql_test json102-1201 { SELECT json_valid(char(32) || '"xyz"') } 1 +do_execsql_test json102-1202 { SELECT json_valid(char(200) || '"xyz"') } 0 + finish_test |