diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/terminal.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/terminal.zig b/test/terminal.zig index 2873c278..b53b9f34 100644 --- a/test/terminal.zig +++ b/test/terminal.zig @@ -234,7 +234,7 @@ test "a position that cannot follow the output for want of memory is said on the pane.feedOutput(p, "three\r\n"); failing.fail_index = std.math.maxInt(usize); try std.testing.expect(failing.has_induced_failure); - try std.testing.expectEqualStrings(panes.positions_lost, pane.msg[0..pane.msg_len]); + try std.testing.expectEqualStrings(panes.positions_lost, p.messages.saidBy(pane)); const logged = p.messages.at(p.messages.len -| 1) orelse return error.NothingLogged; try std.testing.expectEqualStrings(panes.positions_lost, logged.slice()); } |
