OLD | NEW |
1 # 2015-08-12 | 1 # 2015-08-12 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 # Off-by-one error in jsonAppendString() | 292 # Off-by-one error in jsonAppendString() |
293 # | 293 # |
294 for {set i 0} {$i<100} {incr i} { | 294 for {set i 0} {$i<100} {incr i} { |
295 set str abcdef[string repeat \" [expr {$i+50}]]uvwxyz | 295 set str abcdef[string repeat \" [expr {$i+50}]]uvwxyz |
296 do_test json102-[format %d [expr {$i+1300}]] { | 296 do_test json102-[format %d [expr {$i+1300}]] { |
297 db eval {SELECT json_extract(json_array($::str),'$[0]')==$::str} | 297 db eval {SELECT json_extract(json_array($::str),'$[0]')==$::str} |
298 } {1} | 298 } {1} |
299 } | 299 } |
300 | 300 |
301 finish_test | 301 finish_test |
OLD | NEW |