aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-11-26 09:48:12 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-01-02 17:12:57 -0700
commitdd973fb365dbbe11ce5beac8b4889bfab3fddc4d (patch)
treee82adf746186ec50e1aa11c5bd9f4a677e93046d /lib/std/process.zig
parent5a06fdfa5525920810005e73eaa1b6e79a6472ca (diff)
downloadzig-dd973fb365dbbe11ce5beac8b4889bfab3fddc4d.tar.gz
zig-dd973fb365dbbe11ce5beac8b4889bfab3fddc4d.zip
std: Use {s} instead of {} when printing strings
Diffstat (limited to 'lib/std/process.zig')
-rw-r--r--lib/std/process.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/process.zig b/lib/std/process.zig
index 3f944f10b6..3529bf52cb 100644
--- a/lib/std/process.zig
+++ b/lib/std/process.zig
@@ -596,7 +596,7 @@ fn testWindowsCmdLine(input_cmd_line: [*]const u16, expected_args: []const []con
for (expected_args) |expected_arg| {
const arg = it.next(std.testing.allocator).? catch unreachable;
defer std.testing.allocator.free(arg);
- testing.expectEqualSlices(u8, expected_arg, arg);
+ testing.expectEqualStrings(expected_arg, arg);
}
testing.expect(it.next(std.testing.allocator) == null);
}