aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_cli_commands.py
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-08-04 21:28:40 +1000
committerGitHub <[email protected]>2024-08-04 12:28:40 +0100
commit1f942bb17e0f324f81788106a72c7573304d65ff (patch)
tree9b800440565bea387ec780ecbba078c5a20ef0cb /lib/python/qmk/tests/test_cli_commands.py
parent5c10bd3d8c4815c4577b90995fcc2b000a1af13b (diff)
downloadqmk_firmware-1f942bb17e0f324f81788106a72c7573304d65ff.tar.gz
qmk_firmware-1f942bb17e0f324f81788106a72c7573304d65ff.zip
Small tweaks to keymap generation (#24240)
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 674bb54be2..2b3d6f4049 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -156,7 +156,7 @@ def test_json2c():
* edit it directly.
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-\t[0] = LAYOUT_ortho_1x1(KC_A)
+ [0] = LAYOUT_ortho_1x1(KC_A)
};
#if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE)
@@ -168,7 +168,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
-
"""
@@ -195,7 +194,7 @@ def test_json2c_stdin():
* edit it directly.
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-\t[0] = LAYOUT_ortho_1x1(KC_A)
+ [0] = LAYOUT_ortho_1x1(KC_A)
};
#if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE)
@@ -207,7 +206,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
-
"""