summaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tests.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tests.zig b/test/tests.zig
index f91c4fd..f9ad9c4 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -333,10 +333,9 @@ fn heal(allocator: Allocator, exercises: []const Exercise, outdir: []const u8) !
};
const output = try join(allocator, &.{ outdir, ex.main_file });
- const argv = &.{ "patch", "-i", patch, "-o", output, file };
+ const argv = &.{ "patch", "-i", patch, "-o", output, "-s", file };
var child = std.process.Child.init(argv, allocator);
- child.stdout_behavior = .Ignore; // the POSIX standard says that stdout is not used
_ = try child.spawnAndWait();
}
}