diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-06-28 13:39:32 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-06-28 13:39:32 -0500 |
commit | fd4f4f208759cceca136887df4a7c8ee2a2401ff (patch) | |
tree | 1bfc2bae28a23b5fd52cfcb6ca936a9f66139563 /jq_test.c | |
parent | 6c89186437ecf52704e3eb46f1b8e823513e43a4 (diff) |
Make --run-tests' jv_test() quiet
Diffstat (limited to 'jq_test.c')
-rw-r--r-- | jq_test.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -285,7 +285,7 @@ static void jv_test() { assert(jv_array_length(jv_array_get(jv_copy(a), 1)) == 1); - jv_dump(jv_copy(a), 0); printf("\n"); + //jv_dump(jv_copy(a), 0); printf("\n"); jv_free(a); } @@ -340,15 +340,7 @@ static void jv_test() { jv_free(o1); assert(jv_number_value(jv_object_get(jv_copy(o2), jv_string("bar"))) == 240); - jv_dump(jv_copy(o2), 0); printf("\n"); - + //jv_dump(jv_copy(o2), 0); printf("\n"); jv_free(o2); } - - /// Compile errors - { - jq_state *jq = jq_init(); - jq_compile_args(jq, "}", jv_array()); - jq_teardown(&jq); - } } |