summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/replica.zig b/src/replica.zig
index 858c8e01..82cd83f9 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -3757,6 +3757,9 @@ test "a far join is sent each blob once: joined again with them on disk or in th
_ = try a.local(.{ .key = .{ .cp = 'o', .text = "o" } });
_ = try a.local(.{ .paste = text[0..9000] });
_ = try a.local(.{ .key = .{ .cp = pardes.Key.escape, .text = "" } });
+ // Two blobs more than the text: 70 lines deleted (the undo's), the 80
+ // after them yanked (the register's).
+ for ("gg70xd80xy") |c| _ = try a.local(.{ .key = .{ .cp = c, .text = &.{c} } });
const was = Stepping.begin(&a.t, null);
defer was.end();
const whole = try pardes.dump.dumpBytes(a.core);