diff options
Diffstat (limited to 'core/Pipe.zig')
| -rw-r--r-- | core/Pipe.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Pipe.zig b/core/Pipe.zig index d0413c08..5c2e340b 100644 --- a/core/Pipe.zig +++ b/core/Pipe.zig @@ -480,7 +480,7 @@ test "| in a tag pipes the tag's own text, and undo there brings it back" { defer p.deinit(); while (p.nextEffect()) |_| {} const pane = try p.setTestFile("body\n"); - p.update(.{ .key = .{ .cp = ':' } }); // the tag, on Save + for ("::") |c| p.update(.{ .key = .{ .cp = c } }); // the tag (`:` on the empty `:` field), on Save p.update(.{ .key = .{ .cp = 'e' } }); // Save selected p.update(.{ .key = .{ .cp = '|' } }); try std.testing.expect(pane.focus == .tag and pane.prompt == .pipe and pane.prompt_for == .tag); |
