commit 55dfedff42db3cedd12d5385bd4df4bc7676d3af (tree)
parent 4a67dd04c99954af2fd8e38b99704a1faea16267
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 3 Mar 2020 15:58:14 -0500
update cli test to new std.fs API
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cli.zig b/test/cli.zig
@@ -37,7 +37,7 @@ pub fn main() !void {
};
for (test_fns) |testFn| {
try fs.deleteTree(dir_path);
- try fs.makeDir(dir_path);
+ try fs.cwd().makeDir(dir_path);
try testFn(zig_exe, dir_path);
}
}