summaryrefslogtreecommitdiff
path: root/test/fs_namespace.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs_namespace.zig')
-rw-r--r--test/fs_namespace.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/fs_namespace.zig b/test/fs_namespace.zig
index 2fda05fd..3a918a28 100644
--- a/test/fs_namespace.zig
+++ b/test/fs_namespace.zig
@@ -262,8 +262,7 @@ test "owned cwd failed file opens never publish a pane or retain a reservation"
const name = try std.fmt.bufPrint(&path, "/virtual/pane/{d}/body", .{source.serial});
const slot = p.freeSlot().?;
const serial = p.next_serial;
- const columns = p.col_panes;
- const counts = p.col_n;
+ const columns = p.cols;
allocator.fail_index = allocator.alloc_index + failure;
const opened = pardes.panes.File.open(p, slot, name, 0) catch |err| {
try std.testing.expect(err == error.OutOfMemory or err == error.ReadFailed or err == error.WriteFailed);
@@ -271,8 +270,7 @@ test "owned cwd failed file opens never publish a pane or retain a reservation"
try std.testing.expect(!p.reserved_slots[slot]);
try std.testing.expectEqual(serial, p.next_serial);
try std.testing.expectEqual(slot, p.freeSlot().?);
- try std.testing.expectEqualDeep(columns, p.col_panes);
- try std.testing.expectEqualDeep(counts, p.col_n);
+ try std.testing.expectEqualDeep(columns, p.cols);
try std.testing.expectEqual(@as(usize, 0), p.effects_len);
try std.testing.expectEqualStrings("/source/directory", source.cwdSlice());
allocator.fail_index = std.math.maxInt(usize);