test: update tests

This commit is contained in:
2026-07-12 22:15:25 +01:00
parent 24bcb18543
commit 181a6bac09
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -9,11 +9,11 @@ int main(int argc, const char **argv)
return -1;
}
const char *path_cstr = argv[1];
fx_path *path = fx_path_create_from_cstr(path_cstr);
const char *path = argv[1];
fx_file *src = NULL;
fx_result result = fx_file_open(NULL, path, FX_FILE_READ_ONLY, &src);
fx_result result
= fx_file_open(NULL, FX_CSTR(path), FX_FILE_READ_ONLY, &src);
if (fx_result_is_error(result)) {
fx_throw(result);
return -1;