summaryrefslogtreecommitdiff
blob: 4373666c8ee4f0f7834bc83c5690cc4c0099785e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
https://git.netsurf-browser.org/libhubbub.git/commit/?id=c0c4d702b5560c0590d73af4ea055514cab38e4f
https://bugs.gentoo.org/699746
https://bugs.gentoo.org/694042
diff -u -rb libhubbub-0.3.6/test.o/tokeniser2.c libhubbub-0.3.6/test/tokeniser2.c
--- libhubbub-0.3.6/test.o/tokeniser2.c	2019-06-26 22:39:57.000000000 +0200
+++ libhubbub-0.3.6/test/tokeniser2.c	2019-11-06 13:09:02.321068038 +0200
@@ -48,7 +48,7 @@
 	}
 
 	json = json_object_from_file(argv[1]);
-	assert(!is_error(json));
+	assert(json);
 
 	assert(strcmp((char *) ((json_object_get_object(json)->head)->k),
 			"tests") == 0);
diff -u -rb libhubbub-0.3.6/test.o/tokeniser3.c libhubbub-0.3.6/test/tokeniser3.c
--- libhubbub-0.3.6/test.o/tokeniser3.c	2019-06-26 22:39:57.000000000 +0200
+++ libhubbub-0.3.6/test/tokeniser3.c	2019-11-06 13:13:03.162538564 +0200
@@ -46,7 +46,7 @@
 	}
 
 	json = json_object_from_file(argv[1]);
-	assert(!is_error(json));
+	assert(json);
 
 	assert(strcmp((char *) ((json_object_get_object(json)->head)->k),
 			"tests") == 0);