summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-20 12:10:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-20 12:10:22 +0200
commiteadc8140b428624073b35646a35c410990579e3a (patch)
treee7974c8d03b1712c702747614180dbc600763b6a
parentmodules: Update rtems-docs (diff)
downloadrtems-central-eadc8140b428624073b35646a35c410990579e3a.tar.bz2
Fix JSON format errors
-rw-r--r--rtemsspec/tests/spec-json/a.json2
-rw-r--r--rtemsspec/tests/spec-json/d/b.json2
-rw-r--r--rtemsspec/tests/test_items_item.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/rtemsspec/tests/spec-json/a.json b/rtemsspec/tests/spec-json/a.json
index 576d75d9..32952420 100644
--- a/rtemsspec/tests/spec-json/a.json
+++ b/rtemsspec/tests/spec-json/a.json
@@ -1,6 +1,6 @@
{
"SPDX-License-Identifier": "CC-BY-SA-4.0 OR BSD-2-Clause",
- "copyrights": ["Copyright (C) 2022 embedded brains GmbH & Co. KG
+ "copyrights": ["Copyright (C) 2022 embedded brains GmbH & Co. KG"],
"enabled-by": true,
"links": [],
"type": "a"
diff --git a/rtemsspec/tests/spec-json/d/b.json b/rtemsspec/tests/spec-json/d/b.json
index 4152b4c9..ee3e5bb4 100644
--- a/rtemsspec/tests/spec-json/d/b.json
+++ b/rtemsspec/tests/spec-json/d/b.json
@@ -1,6 +1,6 @@
{
"SPDX-License-Identifier": "CC-BY-SA-4.0 OR BSD-2-Clause",
- "copyrights": ["Copyright (C) 2022 embedded brains GmbH & Co. KG
+ "copyrights": ["Copyright (C) 2022 embedded brains GmbH & Co. KG"],
"enabled-by": true,
"links": [{"role": "b", "uid": "../a"}],
"type": "b"
diff --git a/rtemsspec/tests/test_items_item.py b/rtemsspec/tests/test_items_item.py
index 87c94c3e..9a119891 100644
--- a/rtemsspec/tests/test_items_item.py
+++ b/rtemsspec/tests/test_items_item.py
@@ -279,7 +279,7 @@ def test_save_and_load_json(tmpdir):
assert src.read() == """{
"SPDX-License-Identifier": "CC-BY-SA-4.0 OR BSD-2-Clause",
"copyrights": [
- "Copyright (C) 2022 embedded brains GmbH & Co. KG
+ "Copyright (C) 2022 embedded brains GmbH & Co. KG"
],
"enabled-by": false,
"links": [],