Fix `test_json2c_no_json()` (#20756)
This commit is contained in:
parent
dea9912cc9
commit
578102b400
|
@ -1,6 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_COL_PINS { F4 }
|
||||
#define MATRIX_ROW_PINS { F5 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
|
@ -7,6 +7,11 @@
|
|||
"pid": "0x6465",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layout_aliases": {
|
||||
|
|
|
@ -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…
Reference in New Issue