aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-02 19:03:14 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-01-02 19:03:14 -0700
commit974c008a0ee0e0d7933e37d5ea930f712d494f6a (patch)
treec12b14dceebe7f6055fe07cfed2780d2b5c7bf60 /lib/std/testing.zig
parent5b981b1be7b387a3f51d60b8642064e6642b956c (diff)
downloadzig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.tar.gz
zig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.zip
convert more {} to {d} and {s}
Diffstat (limited to 'lib/std/testing.zig')
-rw-r--r--lib/std/testing.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/testing.zig b/lib/std/testing.zig
index 80cc7f930d..4f4a46dbf7 100644
--- a/lib/std/testing.zig
+++ b/lib/std/testing.zig
@@ -258,7 +258,7 @@ pub fn expectEqualSlices(comptime T: type, expected: []const T, actual: []const
// If the child type is u8 and no weird bytes, we could print it as strings
// Even for the length difference, it would be useful to see the values of the slices probably.
if (expected.len != actual.len) {
- std.debug.panic("slice lengths differ. expected {}, found {}", .{ expected.len, actual.len });
+ std.debug.panic("slice lengths differ. expected {d}, found {d}", .{ expected.len, actual.len });
}
var i: usize = 0;
while (i < expected.len) : (i += 1) {