mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Add test cases for json_pretty().
FossilOrigin-Name: 6448b90708eeedef03e82dcb10d2879e1bc859d422b450c5fc403ffbe0343bed
This commit is contained in:
@ -67,6 +67,12 @@ for {set ii 1} {$ii<=5000} {incr ii} {
|
||||
FROM t1, kv
|
||||
WHERE p->>key IS NOT val
|
||||
} 0
|
||||
do_execsql_test $ii.8 {
|
||||
SELECT j0 FROM t1 WHERE json(j0)!=json(json_pretty(j0));
|
||||
} {}
|
||||
do_execsql_test $ii.9 {
|
||||
SELECT j5 FROM t1 WHERE json(j5)!=json(json_pretty(j5));
|
||||
} {}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user