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.
This commit is contained in:
Ludovic Courtès 2020-12-21 11:44:19 +01:00
parent 5ecc0b17f2
commit 9608f4003d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@
"vulnerable" : true,
"cpe23Uri" : "cpe:2.3:o:juniper:junos:16.1:*:*:*:*:*:*:*"
} ]
} {
}, {
"operator" : "OR",
"cpe_match" : [ {
"vulnerable" : true,

View file

@ -33,7 +33,7 @@ (define %directory-entries
"[ { \"name\": \"one\",
\"type\": \"regular\",
\"length\": 123,
\"dir_id\": 1 }
\"dir_id\": 1 },
{ \"name\": \"two\",
\"type\": \"regular\",
\"length\": 456,