summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-06 23:00:27 +1000
committerGitHub <noreply@github.com>2023-05-06 14:00:27 +0100
commit578102b40056693de8a92b49cd0c48e51ff4ad4a (patch)
treea8587bead7a13a97004d7aadb725b46c5e3feb36 /lib
parentdea9912cc996053e659be679c61f55c4bf46deda (diff)
Fix `test_json2c_no_json()` (#20756)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/tests/minimal_info.json2
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/tests/minimal_info.json b/lib/python/qmk/tests/minimal_info.json
index 3aae4722bf..7f5ec1f983 100644
--- a/lib/python/qmk/tests/minimal_info.json
+++ b/lib/python/qmk/tests/minimal_info.json
@@ -4,7 +4,7 @@
"layouts": {
"LAYOUT": {
"layout": [
- { "label": "KC_A", "matrix": [0, 0], "x": 0, "y": 0 }
+ {"label": "KC_A", "matrix": [0, 0], "x": 0, "y": 0}
]
}
}
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 176a52a35a..13359808a0 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -168,7 +168,7 @@ def test_json2c_wrong_json():
def test_json2c_no_json():
- result = check_subcommand('json2c', 'keyboards/handwired/pytest/config.h')
+ result = check_subcommand('json2c', 'keyboards/handwired/pytest/basic/keymaps/default/keymap.c')
check_returncode(result, [1])
assert 'Invalid JSON encountered' in result.stdout