浏览代码

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

Ryan C. Gordon 1 年之前
父节点
当前提交
bc94451bed
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {