Simple Directmedia Layer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

testautomation keyboard: use `space` instead of `a`

authored by

L zard and committed by
Sam Lantinga
1ed1bc1d 8a2cac7a

+2 -2
+2 -2
test/testautomation_keyboard.c
··· 124 124 SDL_Keycode result; 125 125 126 126 /* 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); 128 128 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); 130 130 131 131 /* Case where input is zero */ 132 132 result = SDL_GetKeyFromScancode(SDL_SCANCODE_UNKNOWN, SDL_KMOD_NONE, false);