diff options
Diffstat (limited to 'src/Dir.zig')
| -rw-r--r-- | src/Dir.zig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Dir.zig b/src/Dir.zig index f43c6e02..ae96d816 100644 --- a/src/Dir.zig +++ b/src/Dir.zig @@ -349,7 +349,6 @@ fn named(p: *Pardes, name: []const u8) struct { id: ?usize, count: usize } { } test "a look at a directory opens a pane named for it with a /, its entries in columns, never dirty, its directory its own" { - if (comptime !pardes.hosted) return; var tmp = testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; @@ -378,7 +377,6 @@ test "a look at a directory opens a pane named for it with a /, its entries in c } test "a look at an entry is a look from the directory, .. goes up to the open pane, and Get or a look again reads it again" { - if (comptime !pardes.hosted) return; var tmp = testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; @@ -413,7 +411,6 @@ test "a look at an entry is a look from the directory, .. goes up to the open pa } test "an exec in a directory pane runs in its directory, and its +Errors goes there" { - if (comptime !pardes.hosted) return; var tmp = testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; @@ -434,7 +431,6 @@ test "an exec in a directory pane runs in its directory, and its +Errors goes th } test "over 9P a directory pane is a text pane whose name ends in /, its body the listing, ctl's isdir 1, and get reads it again" { - if (comptime !pardes.hosted) return; const th = @import("ninep/testing.zig"); const tree = @import("ninep/tree.zig"); var tmp = testing.tmpDir(.{}); @@ -461,7 +457,6 @@ test "over 9P a directory pane is a text pane whose name ends in /, its body the } test "a directory pane lays its entries out again when its width changes, unless its text was edited" { - if (comptime !pardes.hosted) return; var tmp = testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; |
