jansson/test/suites/api
Corey Farrell e262ea5fcd
Remove inappropriate jsonp_free which caused segmentation fault.
pack_string should never free str on error.  This wouldn't be a problem
except the check for `ours` was inverted.  Just remove the check for
ours since the true condition is unreachable.

json_vpack_ex also had an error check for s.has_error.  This can never
be true unless value is NULL.

Expand pack_unpack testing to cover empty format string, NULL object
value with non-null concatenated key, array containing a non-null object
after a NULL (error) string.

Fixes #444
2018-11-05 16:49:22 -05:00
..
check-exports check-exports test: Filter out symbols that start with an underscore 2013-02-05 12:48:38 +02:00
Makefile.am Improve test coverage. 2018-02-15 10:12:31 -05:00
run Update copyrights for 2016 2016-09-18 14:17:03 +03:00
test_array.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_chaos.c More test coverage. 2018-03-06 23:28:14 -05:00
test_copy.c Update copyrights for 2016 2016-09-18 14:17:03 +03:00
test_dump_callback.c Update copyrights for 2016 2016-09-18 14:17:03 +03:00
test_dump.c Add JSON_EMBED encoding flag 2017-02-27 15:09:03 -05:00
test_equal.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_load_callback.c Document and tweak json_load_callback() 2012-03-26 21:53:21 +03:00
test_load.c Use a more specific error code for premature end of input 2017-12-20 18:27:04 +01:00
test_loadb.c Update copyrights for 2016 2016-09-18 14:17:03 +03:00
test_memory_funcs.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_number.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_object.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_pack.c Remove inappropriate jsonp_free which caused segmentation fault. 2018-11-05 16:49:22 -05:00
test_simple.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_sprintf.c Improve test coverage. 2018-02-15 10:12:31 -05:00
test_unpack.c Use last byte of error text as numeric error code 2017-10-03 11:42:07 +02:00
util.h Use last byte of error text as numeric error code 2017-10-03 11:42:07 +02:00