summaryrefslogtreecommitdiff
path: root/src/locations.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/locations.zig')
-rw-r--r--src/locations.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locations.zig b/src/locations.zig
index 3dc0412d..ca6b7a7d 100644
--- a/src/locations.zig
+++ b/src/locations.zig
@@ -1131,7 +1131,7 @@ test "rows read back from their text are the rows: +Search's, +Callstack's and +
const callstack = try formatCallstack(p, dir, "a.zig:2:8 f\n└─ a.zig:3:9 a\n");
defer p.gpa.free(callstack.content);
defer freeRows(p.gpa, callstack.rows);
- const hid = try pardes.panes.Output.openDiff(p, 0, patch, "--- a.zig\n+++ a.zig\n@@ -2,3 +2,4 @@\n fn f() void {\n- a(\"x\");\n+ a(\"x y\");\n+ b();\n }\n");
+ const hid = try @import("hunks.zig").openDiff(p, 0, patch, "--- a.zig\n+++ a.zig\n@@ -2,3 +2,4 @@\n fn f() void {\n- a(\"x\");\n+ a(\"x y\");\n+ b();\n }\n");
const stacked = p.panes[hid].?.file.?.location_rows;
// A +Diff's rows carry styles with grounds: the codec is tried on them.
var grounded = false;