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 012ce689..000d1f74 100644 --- a/core/Pipe.zig +++ b/core/Pipe.zig @@ -483,7 +483,7 @@ test "a pipe's output past its cap leaves the text as it was, and says so" { const outputs: []const []const u8 = &.{ "AA", big }; p.update(.{ .pipe_resp = .{ .id = id, .success = true, .outputs = outputs } }); try std.testing.expectEqualSlices(u8, "aa bb cc\n", pane.file.?.content); - try std.testing.expect(std.mem.indexOf(u8, pane.msg[0..pane.msg_len], "past") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(pane), "past") != null); } test "the four shell behaviours put their output where helix puts it" { |
