[Core] use keycode_string in unit tests (#25042)

* tests: use keycode_string feature

With a proper keycode to string implementation in qmk there is no need
to use the unit tests only implementation anymore.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* tests: remove keycode_util feature

This feature is no longer used as we switched the tests to the
keycode string implementation.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
This commit is contained in:
Stefan Kerkmann 2025-03-21 08:47:22 +01:00 committed by GitHub
parent d603fb0913
commit c9d62ddc78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 17 additions and 1009 deletions

View file

@ -210,7 +210,7 @@ TEST_F(AltRepeatKey, GetAltRepeatKeyKeycode) {
{MO(1), 0, KC_NO},
// clang-format on
})) {
SCOPED_TRACE(std::string("Input keycode: ") + get_keycode_identifier_or_default(params.keycode));
SCOPED_TRACE(std::string("Input keycode: ") + get_keycode_string(params.keycode));
set_last_keycode(params.keycode);
set_last_mods(params.mods);