Skip to content

Commit 1ed1bc1

Browse files
Lzardslouken
authored andcommitted
testautomation keyboard: use space instead of a
1 parent 8a2cac7 commit 1ed1bc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/testautomation_keyboard.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ static int SDLCALL keyboard_getKeyFromScancode(void *arg)
124124
SDL_Keycode result;
125125

126126
/* Case where input is valid */
127-
result = SDL_GetKeyFromScancode(SDL_SCANCODE_A, SDL_KMOD_NONE, false);
127+
result = SDL_GetKeyFromScancode(SDL_SCANCODE_SPACE, SDL_KMOD_NONE, false);
128128
SDLTest_AssertPass("Call to SDL_GetKeyFromScancode(valid)");
129-
SDLTest_AssertCheck(result == SDLK_A, "Verify result from call, expected: %d, got: %" SDL_PRIu32, SDLK_A, result);
129+
SDLTest_AssertCheck(result == SDLK_SPACE, "Verify result from call, expected: %d, got: %" SDL_PRIu32, SDLK_SPACE, result);
130130

131131
/* Case where input is zero */
132132
result = SDL_GetKeyFromScancode(SDL_SCANCODE_UNKNOWN, SDL_KMOD_NONE, false);

0 commit comments

Comments
 (0)