summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-09-24 23:25:23 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-09-24 23:25:23 +0200
commit9a848f46b762ab53c9d2ac09b632d53ada6e61db (patch)
treea6cdee10c237544ff66d618d6d96bfadc63dd5f1
parentf1921e64d844dc0fc078dd442b0b9f9115b48bb1 (diff)
parent4346d5f1d84d96dd3926bf0f3caac8e54a58f590 (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.md1
-rw-r--r--build.zig2
-rw-r--r--test/tests.zig4
3 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index ceb2122..5c930d2 100644
--- a/README.md
+++ b/README.md
@@ -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)
diff --git a/build.zig b/build.zig
index 278b708..9a65013 100644
--- a/build.zig
+++ b/build.zig
@@ -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);