We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bc42f commit 2bc4938Copy full SHA for 2bc4938
lib/std/zon/parse.zig
@@ -1381,7 +1381,7 @@ test "std.zon comments" {
1381
1382
{
1383
var diag: Diagnostics = .{};
1384
- defer status.deinit(gpa);
+ defer diag.deinit(gpa);
1385
try std.testing.expectError(error.ParseZon, fromSliceAlloc(u8, gpa,
1386
\\//! comment
1387
\\10 // comment
@@ -1402,7 +1402,7 @@ test "std.zon failure/oom formatting" {
1402
.resize_fail_index = 0,
1403
});
1404
1405
1406
try std.testing.expectError(error.OutOfMemory, fromSliceAlloc(
1407
[]const u8,
1408
failing_allocator.allocator(),
0 commit comments