diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/json-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/json-test.c b/src/tests/json-test.c index ca92877c0..3f8ed92d5 100644 --- a/src/tests/json-test.c +++ b/src/tests/json-test.c @@ -227,6 +227,8 @@ START_TEST(bad_test) { "1." /* Bad number string */, "1.e3" /* Bad number string */, "-" /* Bad number string */, + "{ \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { \"a\": { } } } } } } } } } } } } } } } } } } } } } }" /* Nested too deep */, + "[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ { \"a\": \"b\" } ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ]" /* Nested too deep */, }; for (i = 0; i < PA_ELEMENTSOF(bad_parse); i++) { |