summaryrefslogtreecommitdiff
path: root/core/Query.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Query.zig')
-rw-r--r--core/Query.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/Query.zig b/core/Query.zig
index 704206e6..e06199c5 100644
--- a/core/Query.zig
+++ b/core/Query.zig
@@ -2294,7 +2294,6 @@ fn settle(p: *Pardes) void {
}
test "Find: names fuzzy per keystroke, the group born with its +Preview, nothing else moves, Enter promotes the preview in place" {
- if (!filesystem.platform_has_fs) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
try tmp.dir.createDirPath(std.testing.io, "src");
@@ -2346,7 +2345,6 @@ test "Find: names fuzzy per keystroke, the group born with its +Preview, nothing
}
test "Grep: lines of the files under the owner's directory, under their file; All: every pane's, under @pN in serial order, a line once" {
- if (!filesystem.platform_has_fs) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
try tmp.dir.writeFile(std.testing.io, .{ .sub_path = "b.zig", .data = "const needle = 1;\nconst hay = 2;\nneedle needle\n" });
@@ -2568,7 +2566,6 @@ test "Enter on a frozen query pane's rows after its text was edited: no row to l
}
test "a query row's place is its text: the match tinted after it, B3 on it opens the place, the rows saved and read again still Look" {
- if (!filesystem.platform_has_fs) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = 48 });
@@ -2627,7 +2624,6 @@ test "a query row's place is its text: the match tinted after it, B3 on it opens
}
test "the +Preview: the query's hits in its file are its places, the row's one current and selected, coloured as the file is" {
- if (!filesystem.platform_has_fs) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
const text = "const needle = 1;\nconst hay = 2;\nfn f() void {\n _ = needle;\n}\npub const needle_too = needle;\n";
@@ -2674,7 +2670,6 @@ test "the +Preview: the query's hits in its file are its places, the row's one c
}
test "a row's address is the shortest path a Look from the query pane resolves: in its directory, under it, above it, else absolute" {
- if (!filesystem.platform_has_fs) return;
if (!pardes.lsp.supports.contains(.references)) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
@@ -2716,7 +2711,6 @@ test "a row's address is the shortest path a Look from the query pane resolves:
}
test "a query row's address reaches every way a look arrives: an empty look written back to event and the whole row written to look, as the mouse on it" {
- if (!filesystem.platform_has_fs) return;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = 48 });