aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-03-03 15:58:14 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-03-03 15:58:14 -0500
commit55dfedff42db3cedd12d5385bd4df4bc7676d3af (patch)
treece0a9e4e6295c3a5909f2163187a19a9fc93364e /test/cli.zig
parent4a67dd04c99954af2fd8e38b99704a1faea16267 (diff)
downloadzig-55dfedff42db3cedd12d5385bd4df4bc7676d3af.tar.gz
zig-55dfedff42db3cedd12d5385bd4df4bc7676d3af.zip
update cli test to new std.fs API
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig
index 117c714a29..9bc4a21c90 100644
--- 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);
}
}