aboutsummaryrefslogtreecommitdiff
path: root/lib/std/json/static_test.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-09-21 04:55:39 -0700
committerGitHub <noreply@github.com>2025-09-21 04:55:39 -0700
commit594cb38fcb6c2edccee6b2fd74adec81b3be547a (patch)
treec8a29f062fac286cfef622737affaaadc4ff4d73 /lib/std/json/static_test.zig
parent010d9a63f20d8a4bd14cff0ada690b2d127a0371 (diff)
parent3cc0fc601af62adebf6b9f3bb1a241fa8a501d0b (diff)
downloadzig-594cb38fcb6c2edccee6b2fd74adec81b3be547a.tar.gz
zig-594cb38fcb6c2edccee6b2fd74adec81b3be547a.zip
Merge pull request #25302 from ziglang/growCapacity
std: remove loop from growCapacity
Diffstat (limited to 'lib/std/json/static_test.zig')
-rw-r--r--lib/std/json/static_test.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/json/static_test.zig b/lib/std/json/static_test.zig
index 735ccd82e1..805d2840a1 100644
--- a/lib/std/json/static_test.zig
+++ b/lib/std/json/static_test.zig
@@ -914,7 +914,7 @@ test "parse at comptime" {
uptime: u64,
};
const config = comptime x: {
- var buf: [256]u8 = undefined;
+ var buf: [300]u8 = undefined;
var fba = std.heap.FixedBufferAllocator.init(&buf);
const res = parseFromSliceLeaky(Config, fba.allocator(), doc, .{});
// Assert no error can occur since we are