summaryrefslogtreecommitdiff
path: root/dev/file_watch.zig
diff options
context:
space:
mode:
Diffstat (limited to 'dev/file_watch.zig')
-rw-r--r--dev/file_watch.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/file_watch.zig b/dev/file_watch.zig
index d97e1d3d..74cde864 100644
--- a/dev/file_watch.zig
+++ b/dev/file_watch.zig
@@ -830,7 +830,7 @@ test "a Zerox twin's save wakes its other twin's watch, which says nothing: thei
try tmp.dir.writeFile(io, .{ .sub_path = "twinned", .data = "after\n" });
_ = reloadPane(core, io, &watches, twin, true);
const other = core.panes[twin].?;
- try std.testing.expect(std.mem.indexOf(u8, other.msg[0..other.msg_len], "reloaded") == null);
+ try std.testing.expect(std.mem.indexOf(u8, core.messages.saidBy(other), "reloaded") == null);
try std.testing.expectEqualStrings("after\n", other.file.?.content);
}