Skip to content

Commit 4cc1158

Browse files
committed
fix tests build file broken by addRemoveDirTree now requiring LazyPath
1 parent e7dcf0b commit 4cc1158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/tests.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step {
5050
case_step.dependOn(&verify.step);
5151
}
5252

53-
const cleanup = b.addRemoveDirTree(tmp_path);
53+
const cleanup = b.addRemoveDirTree(.{ .src_path = .{ .owner = b, .sub_path = tmp_path } });
5454
cleanup.step.dependOn(case_step);
5555

5656
step.dependOn(&cleanup.step);
@@ -82,7 +82,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step {
8282
const verify = CheckStep.create(b, exercises, stderr);
8383
verify.step.dependOn(&cmd.step);
8484

85-
const cleanup = b.addRemoveDirTree(tmp_path);
85+
const cleanup = b.addRemoveDirTree(.{ .src_path = .{ .owner = b, .sub_path = tmp_path } });
8686
cleanup.step.dependOn(&verify.step);
8787

8888
step.dependOn(&cleanup.step);

0 commit comments

Comments
 (0)