See, I told you colour was a bad idea! #11

Last commit broke the build, minor fix needed to testsuite.
This commit is contained in:
Stephen Dolan committed 2012-12-03 02:00:29 +00:00
1 parent e9c7548b82
commit c8bbfed041
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ static void run_jq_tests() {
printf("\n");
pass = 0;
}
jv as_string = jv_dump_string(jv_copy(expected), rand());
jv as_string = jv_dump_string(jv_copy(expected), rand() & ~JV_PRINT_COLOUR);
jv reparsed = jv_parse_sized(jv_string_value(as_string), jv_string_length(jv_copy(as_string)));
assert(jv_equal(jv_copy(expected), jv_copy(reparsed)));
jv_free(as_string);