diff options
Diffstat (limited to 'src/Effect.zig')
| -rw-r--r-- | src/Effect.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Effect.zig b/src/Effect.zig index f9b0e645..51b7c645 100644 --- a/src/Effect.zig +++ b/src/Effect.zig @@ -539,7 +539,7 @@ test "saves armed in one batch stay with their own panes" { p.setCwd(tty_id, "/tmp/pardes-batch"); p.update(.{ .output = .{ .pane = @intCast(tty_id), .bytes = "shell text\r\n" } }); const file = try p.setTestFile("file text\n"); - const file_id = p.paneIdOf(file) orelse return error.MissingFilePane; + const file_id = panes.paneIdOf(p, file) orelse return error.MissingFilePane; try std.testing.expect(shell.isTerminal()); try std.testing.expect(tty_id != file_id); while (p.nextEffect()) |_| {} |
