summaryrefslogtreecommitdiff
path: root/core/File.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/File.zig')
-rw-r--r--core/File.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/File.zig b/core/File.zig
index ceb6d03b..8a8c05de 100644
--- a/core/File.zig
+++ b/core/File.zig
@@ -2312,6 +2312,7 @@ test "a pager's text is a diff when it holds a diff header or a unified hunk" {
}
test "a long line is painted only around the caret" {
+ if (comptime !syntax.full_grammars) return error.SkipZigTest; // JSON's
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 24 });
defer p.deinit();
const line = try std.testing.allocator.alloc(u8, 600 << 10);