Skip to content

Commit b308172

Browse files
Lzardsezero
authored andcommitted
testautomation keyboard: use space instead of a
(cherry picked from commit 1ed1bc1)
1 parent 761ea32 commit b308172

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
@@ -127,9 +127,9 @@ int keyboard_getKeyFromScancode(void *arg)
127127
SDL_Keycode result;
128128

129129
/* Case where input is valid */
130-
result = SDL_GetKeyFromScancode(SDL_SCANCODE_A);
130+
result = SDL_GetKeyFromScancode(SDL_SCANCODE_SPACE);
131131
SDLTest_AssertPass("Call to SDL_GetKeyFromScancode(valid)");
132-
SDLTest_AssertCheck(result == SDLK_a, "Verify result from call, expected: %i, got: %" SDL_PRIs32, SDLK_a, result);
132+
SDLTest_AssertCheck(result == SDLK_SPACE, "Verify result from call, expected: %i, got: %" SDL_PRIs32, SDLK_SPACE, result);
133133

134134
/* Case where input is zero */
135135
result = SDL_GetKeyFromScancode(0);

0 commit comments

Comments
 (0)