diff options
Diffstat (limited to 'core/fs.zig')
| -rw-r--r-- | core/fs.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fs.zig b/core/fs.zig index a79aa55c..0a10825d 100644 --- a/core/fs.zig +++ b/core/fs.zig @@ -1138,7 +1138,7 @@ test "unmount refuses pane paths inherited directories and queued save targets" try std.testing.expectError(error.MountInUse, unmount(p, "peer")); p.setCwd(.at(slot), "/"); while (p.nextEffect()) |_| {} - p.emit(.{ .save_text = .{ .pane = 0, .serial = pane.serial, .path = .from("/n/peer/pending") } }); + p.emit(.{ .save_text = .{ .pane = .at(0), .serial = pane.serial, .path = .from("/n/peer/pending") } }); try std.testing.expectError(error.MountInUse, unmount(p, "peer")); while (p.nextEffect()) |_| {} try unmount(p, "peer"); @@ -1317,7 +1317,7 @@ test "bounded reads release terminal snapshots after success and size refusal" { const empty = try readLimit(p, path, 0); defer gpa.free(empty); try std.testing.expectEqual(@as(usize, 0), empty.len); - p.update(.{ .output = .{ .pane = 0, .bytes = "limited terminal output" } }); + p.update(.{ .output = .{ .pane = .at(0), .bytes = "limited terminal output" } }); const expected = "limited terminal output\n"; // a line ends with its newline const bytes = try readLimit(p, path, expected.len); defer gpa.free(bytes); |
