Serge A. Zaitsev
bcf450dbc7
automatic code formatting
6 years ago
Paul Rubel
6572217a0e
strict checking fails a test, add {}s to fix it
...
The current test looks for success, but since there are
no surrounding {}s the test fails. Add them in and add
a test like the one that we replace but only in the
non-strict code path.
8 years ago
pt300
c3131d05a6
Changed unmatched bracket tests
9 years ago
zlolik
a01d301373
some tests for unmatched brackets added
9 years ago
Feram
37672b0289
Fix typos
9 years ago
Jon Simons
e3f2629a56
tests: fix test_object JSMN_PRIMITIVE bug
...
Specify the argument after JSMN_PRIMITIVE as "0" instead of 0 so
that weird things don't happen on OSX due to using it later with
`va_arg(..., char *)` in `vtokeq`.
9 years ago
Serge A. Zaitsev
076abddc19
fixed privitive value typo in tests
10 years ago
Serge A. Zaitsev
7fb89f1eb2
initialized ok variable in tests, parse should still return 1 if expected result is a failure
10 years ago
Serge A. Zaitsev
8a5ee3d41b
fixed a typo in the test name
10 years ago
Serge A. Zaitsev
0c2d60b8e7
added and marked as fixme tests for false positives in objects
10 years ago
Serge A. Zaitsev
f7e6dcb7a2
added another test of invalid array
10 years ago
Serge A. Zaitsev
e5fb875b59
added another test of invalid array
10 years ago
Serge A. Zaitsev
5e37daeec3
added issue 27 test case
10 years ago
Serge A. Zaitsev
9b4e33199f
moved tests into a subfolder, added table-driven tests
10 years ago