summaryrefslogtreecommitdiff
path: root/test/output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/output.zig')
-rw-r--r--test/output.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/output.zig b/test/output.zig
index 8403effa..523e8129 100644
--- a/test/output.zig
+++ b/test/output.zig
@@ -387,7 +387,7 @@ test "result stepping reaches an unterminated last row" {
const source = try p.setTestFile("one\ntwo\n");
const rows = try std.fmt.allocPrint(p.gpa, "{s}:1:1 first\n{s}:2:1 last", .{ source.file.?.path, source.file.?.path });
try panes.Output.fillResults(p, 0, "/tmp", .search, "", rows, 0);
- try std.testing.expect(pardes.test_api.searchStep(p, 0, 1));
+ try std.testing.expect(pardes.look.searchStep(p, 0, 1));
try std.testing.expectEqual(@as(usize, 1), source.search_row.?);
const result = p.panes[source.search_pane.?].?;
try std.testing.expectEqual(@as(i32, 1), result.body.cur_row);