summaryrefslogtreecommitdiff
path: root/test/kitty.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/kitty.zig')
-rw-r--r--test/kitty.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kitty.zig b/test/kitty.zig
index 0bd849c2..37e64949 100644
--- a/test/kitty.zig
+++ b/test/kitty.zig
@@ -1224,7 +1224,7 @@ test "kitty: scrolled back by pardes, an image shows on its row; scrolled forwar
r.feed(0, &nl);
try std.testing.expectEqual(@as(usize, 0), (try r.placesOf(20)).len);
// Back to the top of the history: the marker row is the body's first.
- pane.scrollBy(-1000);
+ pane.scrollBy(pardes.config.tab_width, -1000);
const o = r.origin(0);
const drawn = try r.placesOf(20);
try std.testing.expectEqual(@as(usize, 1), drawn.len);