diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-06-23 14:23:07 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-06-23 14:23:07 +0100 |
commit | 37cfc912c1f384d177162f8aa706452754d2c6ab (patch) | |
tree | 04fedd3639f159f43aaf7ae499b987ab4b32d858 /jq_test.c | |
parent | 8c2e228c74b99b800bb0169bb873e7d7db0f3f63 (diff) |
Remove #includes from jv.hlibjq
Diffstat (limited to 'jq_test.c')
-rw-r--r-- | jq_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,9 +125,9 @@ static void jv_test() { jv_free(a2); - assert(a.val.nontrivial.ptr->count == 1); + assert(jv_get_refcnt(a) == 1); a = jv_array_append(a, jv_copy(a)); - assert(a.val.nontrivial.ptr->count == 1); + assert(jv_get_refcnt(a) == 1); assert(jv_array_length(jv_copy(a)) == 2); assert(jv_number_value(jv_array_get(jv_copy(a), 0)) == 42); |