summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs.zig b/src/fs.zig
index f32c6ea7..ae614cd7 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -665,7 +665,7 @@ test "virtual body writes can read their input from the same pane" {
try write(p, path, pane.file.?.content);
try std.testing.expectEqualStrings("same pane contents\n", pane.file.?.content);
// The truncation and the write are one undo step.
- try std.testing.expectEqual(@as(usize, 1), pane.file.?.history.undo_len);
+ try std.testing.expectEqual(@as(usize, 1), pane.file.?.history.journal.done);
const events = &p.panes[p.active].?.fs.events;
try std.testing.expect(std.mem.startsWith(u8, events.peek().?, "ED"));
events.pop();