From f621c21c14fd0ecc144a13ee3741977edad18fcf Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 14 Mar 2025 22:59:45 +0100
Subject: [PATCH] Remove test setting a hint with an empty name
---
test/testautomation_hints.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/test/testautomation_hints.c b/test/testautomation_hints.c
index a3888e4..ffbd572 100644
--- a/test/testautomation_hints.c
+++ b/test/testautomation_hints.c
@@ -182,15 +182,6 @@ int hints_setHint(void *arg)
"testValue = %s, expected \"original\"",
testValue);
- SDLTest_AssertPass("Call to SDL_SetHint(\"\", \"data\")");
- result = SDL_SetHint("", "data");
- SDLTest_AssertCheck(result, "SDL_SetHint(\"\", \"data\") should return true");
- testValue = SDL_GetHint("");
- SDLTest_AssertCheck(
- testValue && SDL_strcmp(testValue, "data") == 0,
- "testValue = %s, expected \"data\"",
- testValue);
-
SDLTest_AssertPass("Call to SDL_SetHintWithPriority(\"temp\", SDL_HINT_OVERRIDE)");
result = SDL_SetHintWithPriority(testHint, "temp", SDL_HINT_OVERRIDE);
SDLTest_AssertCheck(result, "SDL_SetHintWithPriority(\"%s\", \"temp\", SDL_HINT_OVERRIDE) should return true", testHint);