From 95f41f0eccd27d2823ffd49bc6cd9bf01fadcc4e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 15:25:11 -0300 Subject: Align search and LSP context locations flush left --- test/output.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/output.zig') diff --git a/test/output.zig b/test/output.zig index 42b1ce7c..e835a474 100644 --- a/test/output.zig +++ b/test/output.zig @@ -287,9 +287,9 @@ test "Find sorts whole filenames and next location uses numeric columns" { try std.testing.expectEqualStrings("x:10\nx:2\n", result.file.?.content); try std.testing.expectEqual(@as(usize, 1), source.search_row.?); const rows = "with space.zig:2:2-3 first\nwith space.zig:2:10-12 next\nwith space.zig:10:1 later"; - try std.testing.expectEqual(@as(usize, 1), panes.Output.nextResult(rows, "with space.zig", .{ .line = 2, .col = 3 })); - try std.testing.expectEqual(@as(usize, 2), panes.Output.nextResult(rows, "with space.zig", .{ .line = 2, .col = 10 })); - try std.testing.expectEqual(@as(usize, 0), panes.Output.nextResult(rows, "with space.zig", .{ .line = 10, .col = 1 })); + try std.testing.expectEqual(@as(usize, 1), panes.Output.nextResult(rows, &.{}, "with space.zig", .{ .line = 2, .col = 3 })); + try std.testing.expectEqual(@as(usize, 2), panes.Output.nextResult(rows, &.{}, "with space.zig", .{ .line = 2, .col = 10 })); + try std.testing.expectEqual(@as(usize, 0), panes.Output.nextResult(rows, &.{}, "with space.zig", .{ .line = 10, .col = 1 })); } test "result stepping reaches an unterminated last row" { -- cgit v1.3