projects
/
jq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c7548
)
See, I told you colour was a bad idea! #11
author
Stephen Dolan
<mu@netsoc.tcd.ie>
Mon, 3 Dec 2012 02:00:29 +0000
(
02:00
+0000)
committer
Stephen Dolan
<mu@netsoc.tcd.ie>
Mon, 3 Dec 2012 02:00:29 +0000
(
02:00
+0000)
Last commit broke the build, minor fix needed to testsuite.
jq_test.c
patch
|
blob
|
history
diff --git
a/jq_test.c
b/jq_test.c
index b4674c8155f0db950c5b087667f65258fd0d524b..2960162e04828bbad5ea3f8f061b89c18350d63f 100644
(file)
--- a/
jq_test.c
+++ b/
jq_test.c
@@
-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);