summary refs log tree commit diff
path: root/tests/swh.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-21 11:44:19 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-21 17:47:35 +0100
commit9608f4003dedd8dfe99327c15668ca1a43ebd93b (patch)
tree4807c278c495f7fe3a76dbf1d03d36ec95f21ad7 /tests/swh.scm
parent5ecc0b17f21a9da3e60b2a8fb0fb5dd6fe551781 (diff)
downloadguix-9608f4003dedd8dfe99327c15668ca1a43ebd93b.tar.gz
tests: Fix malformed JSON.
Guile-JSON 4.3.2 would parse in spite of these typos, but 4.4.1 is
stricter.

* tests/swh.scm (%directory-entries): Add missing comma.
* tests/cve-sample.json: Likewise.
Diffstat (limited to 'tests/swh.scm')
-rw-r--r--tests/swh.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/swh.scm b/tests/swh.scm
index aef68acbe7..06984b2a80 100644
--- a/tests/swh.scm
+++ b/tests/swh.scm
@@ -33,7 +33,7 @@
   "[ { \"name\": \"one\",
        \"type\": \"regular\",
        \"length\": 123,
-       \"dir_id\": 1 }
+       \"dir_id\": 1 },
      { \"name\": \"two\",
        \"type\": \"regular\",
        \"length\": 456,