Explorar o código

testfilesystem: Add a '?' to the glob test, for a little more completeness.

Ryan C. Gordon %!s(int64=2) %!d(string=hai) anos
pai
achega
bc94451bed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/testfilesystem.c

+ 1 - 1
test/testfilesystem.c

@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
             SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Base path enumeration failed!");
         }
 
-        globlist = SDL_GlobDirectory(base_path, "*/test*/Test*", SDL_GLOB_CASEINSENSITIVE, NULL);
+        globlist = SDL_GlobDirectory(base_path, "*/test*/T?st*", SDL_GLOB_CASEINSENSITIVE, NULL);
         if (!globlist) {
             SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Base path globbing failed!");
         } else {