Signed-off-by: Ján Tomko <jto...@redhat.com>
---
 tests/virjsondata/add-remove-success-out.json | 4 ++--
 tests/virjsontest.c                           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/virjsondata/add-remove-success-out.json 
b/tests/virjsondata/add-remove-success-out.json
index 50f1770910..24ccb3e38c 100644
--- a/tests/virjsondata/add-remove-success-out.json
+++ b/tests/virjsondata/add-remove-success-out.json
@@ -1,4 +1,4 @@
 {
-    "value": true,
-    "newname": "foo"
+  "value": true,
+  "newname": "foo"
 }
diff --git a/tests/virjsontest.c b/tests/virjsontest.c
index 4241acd911..4a33aff785 100644
--- a/tests/virjsontest.c
+++ b/tests/virjsontest.c
@@ -162,7 +162,7 @@ testJSONAddRemove(const void *data)
         VIR_TEST_VERBOSE("%s", "unexpected failure adding new key\n");
         return -1;
     }
-    if (!(actual = virJSONValueToString(json, false))) {
+    if (!(actual = virJSONValueToString(json, true))) {
         VIR_TEST_VERBOSE("%s", "failed to stringize result\n");
         return -1;
     }
-- 
2.19.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to