]> git.corax.cc Git - toolbox/commit
test/json: Fix test cases for json module
authorMatthias Kruk <m@m10k.eu>
Thu, 8 Jul 2021 22:50:49 +0000 (07:50 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 8 Jul 2021 22:50:49 +0000 (07:50 +0900)
commit0749ce114deda7b9dc09b7736f382b7ed13e6c5b
tree067a0f2526c6a00b8514b6023dd75e9aeaafbeb2
parent318ba9094e4e49c87245d2c770010bf6048bf736
test/json: Fix test cases for json module

Several of the test cases for the json module are calling the wrong
functions. Further, there are no test cases for type specifiers in
json_object() and json_array().
This commit fixes test cases that are calling the wrong functions and
adds test cases for type specifiers.
test/json_spec.sh