diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/monkey9p.zig | 2 | ||||
| -rw-r--r-- | test/snapshots/filewatch.golden | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/monkey9p.zig b/test/monkey9p.zig index 1f213a3b..aaef1de6 100644 --- a/test/monkey9p.zig +++ b/test/monkey9p.zig @@ -1318,7 +1318,7 @@ fn oneFailureRule(c: *Ctx, a: Allocator, res: *Res) ?[]const u8 { // is the host's news, said whenever it arrives: no write's. var msgs: std.ArrayList([]const u8) = .empty; for (occurrences(a, window, "msg")) |m| { - if (std.mem.indexOf(u8, m, " deleted on disk (") != null or std.mem.indexOf(u8, m, " changed on disk (") != null or + if (std.mem.indexOf(u8, m, " deleted on disk (") != null or std.mem.indexOf(u8, m, " changed on disk") != null or std.mem.indexOf(u8, m, " reloaded ") != null) continue; msgs.append(a, m) catch oom(); } diff --git a/test/snapshots/filewatch.golden b/test/snapshots/filewatch.golden index 1e10ec08..b9716691 100644 --- a/test/snapshots/filewatch.golden +++ b/test/snapshots/filewatch.golden @@ -31,7 +31,8 @@ | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m == snap kept grid=210x31 cursor=15,7 -|30: · /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk (get reloads it, Save overwrites it) 2 messages · SPC h m +|6: ?/tmp/pardes-snap/filewatch/cwd/w.txt changed on disk ▸ r Reload k Keep mine d Diff · SPC e to answer Save Term Collapse Follow Del +|30: ? /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk 1 question · SPC e == snap reloaded_sub grid=210x31 cursor=15,7 |19: 1 RENAMED |20: ~ @@ -42,4 +43,4 @@ |25: |26: |27: -|30: · reloaded /tmp/pardes-snap/filewatch/cwd/sub/s.txt 3 messages · SPC h m +|30: ? /tmp/pardes-snap/filewatch/cwd/w.txt changed on disk +1 · 1 question · SPC e |
