mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user