Fix test_json2c_no_json()
(#20756)
This commit is contained in:
parent
dea9912cc9
commit
578102b400
6 changed files with 15 additions and 16 deletions
|
@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue