Skip to content

Commit 2bc4938

Browse files
committed
Fixes rebase
1 parent e8bc42f commit 2bc4938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/zon/parse.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ test "std.zon comments" {
13811381

13821382
{
13831383
var diag: Diagnostics = .{};
1384-
defer status.deinit(gpa);
1384+
defer diag.deinit(gpa);
13851385
try std.testing.expectError(error.ParseZon, fromSliceAlloc(u8, gpa,
13861386
\\//! comment
13871387
\\10 // comment
@@ -1402,7 +1402,7 @@ test "std.zon failure/oom formatting" {
14021402
.resize_fail_index = 0,
14031403
});
14041404
var diag: Diagnostics = .{};
1405-
defer status.deinit(gpa);
1405+
defer diag.deinit(gpa);
14061406
try std.testing.expectError(error.OutOfMemory, fromSliceAlloc(
14071407
[]const u8,
14081408
failing_allocator.allocator(),

0 commit comments

Comments
 (0)