diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-09-24 23:25:23 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-09-24 23:25:23 +0200 |
| commit | 9a848f46b762ab53c9d2ac09b632d53ada6e61db (patch) | |
| tree | a6cdee10c237544ff66d618d6d96bfadc63dd5f1 | |
| parent | f1921e64d844dc0fc078dd442b0b9f9115b48bb1 (diff) | |
| parent | 4346d5f1d84d96dd3926bf0f3caac8e54a58f590 (diff) | |
Merge pull request 'Fixed error in captureStdErr()' (#308) from i306 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/308
| -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); |
