[libvirt] [PATCHv2 09/14] virjsontest: reformat add-remove test input data

Ján Tomko jtomko at redhat.com
Tue Apr 2 15:41:48 UTC 2019


Use json_reformat to make the input more readable.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 tests/virjsondata/add-remove-failure-in.json | 4 +++-
 tests/virjsondata/add-remove-success-in.json | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/virjsondata/add-remove-failure-in.json b/tests/virjsondata/add-remove-failure-in.json
index dd264421e9..7622214cf2 100644
--- a/tests/virjsondata/add-remove-failure-in.json
+++ b/tests/virjsondata/add-remove-failure-in.json
@@ -1 +1,3 @@
-[ 1 ]
+[
+    1
+]
diff --git a/tests/virjsondata/add-remove-success-in.json b/tests/virjsondata/add-remove-success-in.json
index b8edd30963..bdc86185c6 100644
--- a/tests/virjsondata/add-remove-success-in.json
+++ b/tests/virjsondata/add-remove-success-in.json
@@ -1 +1,4 @@
-{"name": "sample", "value": true}
+{
+    "name": "sample",
+    "value": true
+}
-- 
2.19.2




More information about the libvir-list mailing list