aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-04-07 23:34:30 +0300
committerVexu <git@vexu.eu>2020-04-08 00:27:14 +0300
commitff0f97a1bcab4d27212c67b0ebc6233adf2f0de9 (patch)
treedef7d8a41a2821eefc613fdec76c77aaf9c2fd7f /test/tests.zig
parented23dad4877cd93fd684852b17e0e554ef71e297 (diff)
downloadzig-ff0f97a1bcab4d27212c67b0ebc6233adf2f0de9.tar.gz
zig-ff0f97a1bcab4d27212c67b0ebc6233adf2f0de9.zip
fix missing compile error on assign to slice and array parameters
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index d88c84502d..59a0af195e 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -612,7 +612,7 @@ pub const StackTracesContext = struct {
const stdout = child.stdout.?.inStream().readAllAlloc(b.allocator, max_stdout_size) catch unreachable;
defer b.allocator.free(stdout);
- const stderr = child.stderr.?.inStream().readAllAlloc(b.allocator, max_stdout_size) catch unreachable;
+ var stderr = child.stderr.?.inStream().readAllAlloc(b.allocator, max_stdout_size) catch unreachable;
defer b.allocator.free(stderr);
const term = child.wait() catch |err| {