summaryrefslogtreecommitdiff
path: root/core/Trail.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Trail.zig')
-rw-r--r--core/Trail.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Trail.zig b/core/Trail.zig
index e07e4357..f6cfec9a 100644
--- a/core/Trail.zig
+++ b/core/Trail.zig
@@ -948,10 +948,12 @@ test "the walk drawn with a picker's list and the notice row (walk UI G 2e, SPEC
f.look(f.held, "rank.zig", 12);
const r = p.view().active;
// A list asked from the held pane (SPC e's places, a server's answer):
- // its Enter lands in the reader, nothing made.
+ // hung under the held pane's tag (UX DESIGN O1), its Enter lands in the
+ // reader, nothing made.
const rows = try std.fmt.bufPrint(&buf, "{s}/place.zig:8:1 of\n{s}/place.zig:40:1 Span\n", .{ f.dir, f.dir });
pardes.Pick.open(p, f.held, .list, "Refs", "", rows);
- try std.testing.expectEqual(p.panes[r].?.serial, p.view().tag_state.host);
+ try std.testing.expectEqual(owner, p.view().tag_state.host);
+ try std.testing.expectEqual(p.panes[r].?.serial, pardes.Pick.live(p).?.landing);
pardes.Pick.landHere(p);
p.sync();
// The reader stepped (to another file: a pane of its own, its owner's