From c23ec063768555d9c4e963f135ebedab83094daa Mon Sep 17 00:00:00 2001 From: Anna Rose Wiggins Date: Thu, 17 Jul 2025 19:03:17 -0400 Subject: [PATCH] Test a prefix with a bad suffix. --- internal/config/codes_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/codes_test.go b/internal/config/codes_test.go index 6b0c582..cf1741c 100644 --- a/internal/config/codes_test.go +++ b/internal/config/codes_test.go @@ -103,7 +103,8 @@ func (t *EventCodeParserTests) TestParseCodeInvalid() { {"badbutton", "BTN"}, {"ABS_X", "BTN"}, {"!@#$%^&*(){}-_", "BTN"}, - {"RE_X", "ABS"}, + {"REL_X", "ABS"}, + {"ABS_W", "ABS"}, {"0", "ABS"}, {"0xg", "ABS"}, }