diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2020-12-21 11:44:19 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-21 17:47:35 +0100 |
| commit | 9608f4003dedd8dfe99327c15668ca1a43ebd93b (patch) | |
| tree | 4807c278c495f7fe3a76dbf1d03d36ec95f21ad7 | |
| parent | 5ecc0b17f21a9da3e60b2a8fb0fb5dd6fe551781 (diff) | |
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.
| -rw-r--r-- | tests/cve-sample.json | 2 | ||||
| -rw-r--r-- | tests/swh.scm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cve-sample.json b/tests/cve-sample.json index 39816f9dd47..11b71817bb0 100644 --- a/tests/cve-sample.json +++ b/tests/cve-sample.json | |||
| @@ -49,7 +49,7 @@ | |||
| 49 | "vulnerable" : true, | 49 | "vulnerable" : true, |
| 50 | "cpe23Uri" : "cpe:2.3:o:juniper:junos:16.1:*:*:*:*:*:*:*" | 50 | "cpe23Uri" : "cpe:2.3:o:juniper:junos:16.1:*:*:*:*:*:*:*" |
| 51 | } ] | 51 | } ] |
| 52 | } { | 52 | }, { |
| 53 | "operator" : "OR", | 53 | "operator" : "OR", |
| 54 | "cpe_match" : [ { | 54 | "cpe_match" : [ { |
| 55 | "vulnerable" : true, | 55 | "vulnerable" : true, |
diff --git a/tests/swh.scm b/tests/swh.scm index aef68acbe79..06984b2a802 100644 --- a/tests/swh.scm +++ b/tests/swh.scm | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | "[ { \"name\": \"one\", | 33 | "[ { \"name\": \"one\", |
| 34 | \"type\": \"regular\", | 34 | \"type\": \"regular\", |
| 35 | \"length\": 123, | 35 | \"length\": 123, |
| 36 | \"dir_id\": 1 } | 36 | \"dir_id\": 1 }, |
| 37 | { \"name\": \"two\", | 37 | { \"name\": \"two\", |
| 38 | \"type\": \"regular\", | 38 | \"type\": \"regular\", |
| 39 | \"length\": 456, | 39 | \"length\": 456, |
