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, 3 insertions, 3 deletions
diff --git a/test/fs_namespace.zig b/test/fs_namespace.zig
index 3a918a28..00b2461a 100644
--- a/test/fs_namespace.zig
+++ b/test/fs_namespace.zig
@@ -86,7 +86,7 @@ test "transactional restore preserves host capabilities and advances pane identi
const p = try pardes.Pardes.init(gpa, .{ .tty_only = true, .cols = 91, .rows = 37 });
defer p.deinit();
const pane = try p.setTestFile("before\n");
- p.lsp_seq = 41;
+ p.lsp_ask.seq = 41;
p.pipe.seq = 73;
if (@hasField(pardes.CellPixels, "w")) p.cell_pixels = .{ .w = 9, .h = 18 };
p.native_images = true;
@@ -95,7 +95,7 @@ test "transactional restore preserves host capabilities and advances pane identi
try pardes.dump.dumpState(p);
const restored = try pardes.dump.restore(p, p.dump_out.?, "test");
defer restored.deinit();
- try std.testing.expectEqual(@as(u32, 41), restored.lsp_seq);
+ try std.testing.expectEqual(@as(u32, 41), restored.lsp_ask.seq);
try std.testing.expectEqual(@as(u32, 73), restored.pipe.seq);
try std.testing.expectEqual(p.cell_pixels, restored.cell_pixels);
try std.testing.expect(restored.native_images);
@@ -113,7 +113,7 @@ test "transactional restore preserves host capabilities and advances pane identi
));
try std.testing.expect(p.panes[0] == pane);
try std.testing.expectEqualStrings("before\n", pane.file.?.content);
- try std.testing.expectEqual(@as(u32, 41), p.lsp_seq);
+ try std.testing.expectEqual(@as(u32, 41), p.lsp_ask.seq);
try std.testing.expectEqualStrings("/tmp/session.sock", p.fs.socket_path);
}