aboutsummaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/config.h5
-rw-r--r--tests/basic/rules.mk2
-rw-r--r--tests/basic/test_macro.cpp2
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/basic/config.h b/tests/basic/config.h
index e5d018a32..99bd62d99 100644
--- a/tests/basic/config.h
+++ b/tests/basic/config.h
@@ -14,10 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#ifndef TESTS_BASIC_CONFIG_H_ 17#pragma once
18#define TESTS_BASIC_CONFIG_H_
19 18
20#define MATRIX_ROWS 4 19#define MATRIX_ROWS 4
21#define MATRIX_COLS 10 20#define MATRIX_COLS 10
22
23#endif /* TESTS_BASIC_CONFIG_H_ */
diff --git a/tests/basic/rules.mk b/tests/basic/rules.mk
index 8a906807c..9fb5d4361 100644
--- a/tests/basic/rules.mk
+++ b/tests/basic/rules.mk
@@ -13,4 +13,4 @@
13# You should have received a copy of the GNU General Public License 13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>. 14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
16CUSTOM_MATRIX=yes \ No newline at end of file 16CUSTOM_MATRIX=yes
diff --git a/tests/basic/test_macro.cpp b/tests/basic/test_macro.cpp
index a1fa31708..dc4a77796 100644
--- a/tests/basic/test_macro.cpp
+++ b/tests/basic/test_macro.cpp
@@ -68,4 +68,4 @@ TEST_F(Macro, PlayASimpleMacro) {
68 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).AT_TIME(210); 68 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).AT_TIME(210);
69 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).AT_TIME(220); 69 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).AT_TIME(220);
70 run_one_scan_loop(); 70 run_one_scan_loop();
71} \ No newline at end of file 71}