diff options
| author | bsubei <6508762+bsubei@users.noreply.github.com> | 2024-07-21 12:26:03 -0400 |
|---|---|---|
| committer | bsubei <6508762+bsubei@users.noreply.github.com> | 2024-07-21 13:01:59 -0400 |
| commit | 4cc1158fbcc5380cf7d7b38cd63f04733701e7fa (patch) | |
| tree | fc83d45aa7bbcb98b892be24a61287c7916b797c /test/tests.zig | |
| parent | e7dcf0b6ef10944271fea4b677cb2722c632dabd (diff) | |
fix tests build file broken by addRemoveDirTree now requiring LazyPath
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tests.zig b/test/tests.zig index 9fed107..5f64f8e 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -50,7 +50,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { case_step.dependOn(&verify.step); } - const cleanup = b.addRemoveDirTree(tmp_path); + const cleanup = b.addRemoveDirTree(.{ .src_path = .{ .owner = b, .sub_path = tmp_path } }); cleanup.step.dependOn(case_step); step.dependOn(&cleanup.step); @@ -82,7 +82,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { const verify = CheckStep.create(b, exercises, stderr); verify.step.dependOn(&cmd.step); - const cleanup = b.addRemoveDirTree(tmp_path); + const cleanup = b.addRemoveDirTree(.{ .src_path = .{ .owner = b, .sub_path = tmp_path } }); cleanup.step.dependOn(&verify.step); step.dependOn(&cleanup.step); |
