summaryrefslogtreecommitdiff
path: root/core/Band.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Band.zig')
-rw-r--r--core/Band.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Band.zig b/core/Band.zig
index 8ee5c9f0..4b56b0b8 100644
--- a/core/Band.zig
+++ b/core/Band.zig
@@ -681,6 +681,8 @@ test "a narrow band gives way and keeps its spines: the doc goes, the steps star
defer p.deinit();
const pane = try p.setTestFile("one\n");
const id = p.view().active;
+ // Its own text past a row: the tag takes two (UX K'1).
+ pane.tag.own = try p.gpa.dupe(u8, "words of the user's own that run on past a row");
p.sync();
const rest = pane.tag_rows;
try std.testing.expect(rest > 1);
@@ -716,6 +718,8 @@ test "out of rest with no band, the rows a tag keeps from rest stay blank: a spi
defer p.deinit();
const pane = try p.setTestFile("one\n");
const id = p.view().active;
+ // Its own text past a row: the tag takes two (UX K'1).
+ pane.tag.own = try p.gpa.dupe(u8, "words of the user's own that run on past a row");
p.sync();
const rest = pane.tag_rows;
try std.testing.expect(rest > 1);