diff options
Diffstat (limited to 'src/look.zig')
| -rw-r--r-- | src/look.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/look.zig b/src/look.zig index b32c46ac..783ff54c 100644 --- a/src/look.zig +++ b/src/look.zig @@ -1852,6 +1852,7 @@ test "a zero column after a path is found, in every spelling a look takes" { test "Look hover waits without mutating the pane and input cancels it" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const delay = config.look_preview_delay_frames; const gpa = std.testing.allocator; @@ -1962,6 +1963,7 @@ test "Look hover waits without mutating the pane and input cancels it" { } test "cwd changes cancel only the affected pane's Look hover" { + if (pardes.Term.ops == null) return error.SkipZigTest; // the classic boot's three shells const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .shells = 3 }); defer p.deinit(); @@ -2481,6 +2483,7 @@ test "Incl's directories find a name found nowhere else, <name> too; bare Incl l } test "LookNext in a command pane walks its own file:line places, whoever walked last" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane if (!platform_has_fs) return; var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); @@ -2678,6 +2681,7 @@ test "Plumb: a look sends what it looks at, the rules written first: a rule's wo } test "Plumb: a commit hash looked at in a git work tree is git show's, paged; outside one Diff declines, and the word is searched for" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane if (!platform_has_fs) return; var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); |
