Blame SOURCES/json-c-0.14-test_deep_copy_fix_assertion_value.patch

a0bbcb
From 3008401b2a8f5b25bf5665cafa22b335d9ffdb3a Mon Sep 17 00:00:00 2001
a0bbcb
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
a0bbcb
Date: Mon, 18 May 2020 17:00:17 +0200
a0bbcb
Subject: [PATCH] test_deep_copy: Fix assertion value.
a0bbcb
a0bbcb
---
a0bbcb
 tests/test_deep_copy.c | 2 +-
a0bbcb
 1 file changed, 1 insertion(+), 1 deletion(-)
a0bbcb
a0bbcb
diff --git a/tests/test_deep_copy.c b/tests/test_deep_copy.c
a0bbcb
index b6c1b999f4..34ef1fe5d3 100644
a0bbcb
--- a/tests/test_deep_copy.c
a0bbcb
+++ b/tests/test_deep_copy.c
a0bbcb
@@ -126,7 +126,7 @@ int main(int argc, char **argv)
a0bbcb
 	src3 = json_tokener_parse(json_str3);
a0bbcb
 
a0bbcb
 	assert(src1 != NULL);
a0bbcb
-	assert(src1 != NULL);
a0bbcb
+	assert(src2 != NULL);
a0bbcb
 	assert(src3 != NULL);
a0bbcb
 
a0bbcb
 	printf("PASSED - loaded input data\n");