summaryrefslogtreecommitdiff
path: root/core/Effect.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Effect.zig')
-rw-r--r--core/Effect.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Effect.zig b/core/Effect.zig
index bf02c5b7..3bca04c9 100644
--- a/core/Effect.zig
+++ b/core/Effect.zig
@@ -346,7 +346,7 @@ test "Detach asks the host to let its terminal go, and says so when there is not
p.perform(.{ .detach = asked });
const pane = p.panes[0].?;
- try std.testing.expectEqualStrings("detach: not attached", pane.msg[0..pane.msg_len]);
+ try std.testing.expectEqualStrings("detach: not attached", p.messages.saidBy(pane));
try std.testing.expect(!p.quit);
}