From b224ed510eb3277c9b6b80412eb615cb27b0eeef Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Wed, 29 May 2024 21:20:28 +0200 Subject: Fixed the changes from reworking std.Progress. For details: https://github.com/ziglang/zig/pull/20059 --- test/tests.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/tests.zig') diff --git a/test/tests.zig b/test/tests.zig index 5ee5365..126a1cd 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -150,7 +150,7 @@ const CheckNamedStep = struct { return self; } - fn make(step: *Step, _: *std.Progress.Node) !void { + fn make(step: *Step, _: std.Progress.Node) !void { const b = step.owner; const self: *CheckNamedStep = @alignCast(@fieldParentPtr("step", step)); const ex = self.exercise; @@ -202,7 +202,7 @@ const CheckStep = struct { return self; } - fn make(step: *Step, _: *std.Progress.Node) !void { + fn make(step: *Step, _: std.Progress.Node) !void { const b = step.owner; const self: *CheckStep = @alignCast(@fieldParentPtr("step", step)); const exercises = self.exercises; @@ -325,7 +325,7 @@ const FailStep = struct { return self; } - fn make(step: *Step, _: *std.Progress.Node) !void { + fn make(step: *Step, _: std.Progress.Node) !void { const b = step.owner; const self: *FailStep = @alignCast(@fieldParentPtr("step", step)); @@ -368,7 +368,7 @@ const HealStep = struct { return self; } - fn make(step: *Step, _: *std.Progress.Node) !void { + fn make(step: *Step, _: std.Progress.Node) !void { const b = step.owner; const self: *HealStep = @alignCast(@fieldParentPtr("step", step)); -- cgit v1.2.3