diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-09-24 20:30:54 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-09-24 20:30:54 +0200 |
| commit | 4346d5f1d84d96dd3926bf0f3caac8e54a58f590 (patch) | |
| tree | 29da2b841417d7541d118732f74ef2f8b0e9fbdd | |
| parent | 62ad50b71e8fb0139bb5aaa4bd61a4e46277f600 (diff) | |
Fixed error in captureStdErr()
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | build.zig | 2 | ||||
| -rw-r--r-- | test/tests.zig | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -86,6 +86,7 @@ that if you update one, you may need to also update the other. ### Version Changes +* *2025-09-24* zig 0.16.0-dev.377 - Enable passing file content as args, see [#25228](https://github.com/ziglang/zig/pull/25228) * *2025-09-03* zig 0.16.0-dev.164 - changes in reader, see [#25077](https://github.com/ziglang/zig/pull/25077) * *2025-08-15* zig 0.15.0-dev.1519 - changes in array list, see [#24801](https://github.com/ziglang/zig/pull/24801) * *2025-08-08* zig 0.15.0-dev.1380 - changes in build system, see [#24588](https://github.com/ziglang/zig/pull/24588) @@ -15,7 +15,7 @@ const print = std.debug.print; // 1) Getting Started // 2) Version Changes comptime { - const required_zig = "0.16.0-dev.164"; + const required_zig = "0.16.0-dev.377"; const current_zig = builtin.zig_version; const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable; if (current_zig.order(min_zig) == .lt) { diff --git a/test/tests.zig b/test/tests.zig index b191610..b10f203 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -43,7 +43,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { cmd.expectExitCode(0); cmd.step.dependOn(&heal_step.step); - const stderr = cmd.captureStdErr(); + const stderr = cmd.captureStdErr(.{}); const verify = CheckNamedStep.create(b, ex, stderr); verify.step.dependOn(&cmd.step); @@ -78,7 +78,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { cmd.expectExitCode(0); cmd.step.dependOn(&heal_step.step); - const stderr = cmd.captureStdErr(); + const stderr = cmd.captureStdErr(.{}); const verify = CheckStep.create(b, exercises, stderr); verify.step.dependOn(&cmd.step); |
