[rtems-central commit] Fix JSON format errors

Sebastian Huber sebh at rtems.org
Sat May 20 09:50:35 UTC 2023


Module:    rtems-central
Branch:    master
Commit:    eadc8140b428624073b35646a35c410990579e3a
Changeset: http://git.rtems.org/rtems-central/commit/?id=eadc8140b428624073b35646a35c410990579e3a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat May 20 12:10:22 2023 +0200

Fix JSON format errors

---

 rtemsspec/tests/spec-json/a.json   | 2 +-
 rtemsspec/tests/spec-json/d/b.json | 2 +-
 rtemsspec/tests/test_items_item.py | 2 +-
 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": [],



More information about the vc mailing list