From 1ed1bc1d5da2c5e0a9a223411d39f3d3c4a5a9fd Mon Sep 17 00:00:00 2001 From: L zard Date: Fri, 8 Nov 2024 15:40:02 +0100 Subject: [PATCH] testautomation keyboard: use `space` instead of `a` --- test/testautomation_keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testautomation_keyboard.c b/test/testautomation_keyboard.c index 62f2aefdd2..bf73423e16 100644 --- a/test/testautomation_keyboard.c +++ b/test/testautomation_keyboard.c @@ -124,9 +124,9 @@ static int SDLCALL keyboard_getKeyFromScancode(void *arg) SDL_Keycode result; /* Case where input is valid */ - result = SDL_GetKeyFromScancode(SDL_SCANCODE_A, SDL_KMOD_NONE, false); + result = SDL_GetKeyFromScancode(SDL_SCANCODE_SPACE, SDL_KMOD_NONE, false); SDLTest_AssertPass("Call to SDL_GetKeyFromScancode(valid)"); - SDLTest_AssertCheck(result == SDLK_A, "Verify result from call, expected: %d, got: %" SDL_PRIu32, SDLK_A, result); + SDLTest_AssertCheck(result == SDLK_SPACE, "Verify result from call, expected: %d, got: %" SDL_PRIu32, SDLK_SPACE, result); /* Case where input is zero */ result = SDL_GetKeyFromScancode(SDL_SCANCODE_UNKNOWN, SDL_KMOD_NONE, false);