Browse Source

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

Ryan C. Gordon 1 year ago
parent
commit
bc94451bed
1 changed files with 1 additions and 1 deletions
  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 {