diff options
author | Petri Lehtinen <petri@digip.org> | 2010-05-12 15:41:09 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2010-05-14 09:05:56 +0300 |
commit | 2630980f49088a06c32cebdc866e4f518106af29 (patch) | |
tree | 89c38ee9c5287d604ce49ce2bbaea9ec8e7600b2 /test/suites/api/Makefile.am | |
parent | f9475f9577bd62b4e1586fbefcbcf70a460b9e61 (diff) | |
download | jansson-2630980f49088a06c32cebdc866e4f518106af29.zip jansson-2630980f49088a06c32cebdc866e4f518106af29.tar.gz jansson-2630980f49088a06c32cebdc866e4f518106af29.tar.bz2 |
Zero the visited flag after encoding an empty array or object
Encoding an empty array or object worked, but encoding it again
(possibly after adding some items) failed, because the visited flag
(used for detecting circular references) wasn't zeroed.
Diffstat (limited to 'test/suites/api/Makefile.am')
-rw-r--r-- | test/suites/api/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/suites/api/Makefile.am b/test/suites/api/Makefile.am index 64523c0..7125792 100644 --- a/test/suites/api/Makefile.am +++ b/test/suites/api/Makefile.am @@ -4,6 +4,7 @@ check_PROGRAMS = \ test_array \ test_equal \ test_copy \ + test_dump \ test_load \ test_simple \ test_number \ @@ -11,6 +12,7 @@ check_PROGRAMS = \ test_array_SOURCES = test_array.c util.h test_copy_SOURCES = test_copy.c util.h +test_dump_SOURCES = test_dump.c util.h test_load_SOURCES = test_load.c util.h test_simple_SOURCES = test_simple.c util.h test_number_SOURCES = test_number.c util.h |