diff options
Diffstat (limited to 'test/output.zig')
| -rw-r--r-- | test/output.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/output.zig b/test/output.zig index 3d92e867..eb4da9b3 100644 --- a/test/output.zig +++ b/test/output.zig @@ -493,7 +493,6 @@ fn configFixture(tmp: *std.testing.TmpDir, content: ?[]const u8, buf: *[4096]u8) } test "Config opens the startup file, and a second Config goes back to its pane" { - if (comptime !pardes.hosted) return; var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; @@ -521,7 +520,6 @@ test "Config opens the startup file, and a second Config goes back to its pane" } test "Config with no startup file opens a pane of its name, and Save makes its directory" { - if (comptime !pardes.hosted) return; var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); var buf: [4096]u8 = undefined; @@ -573,7 +571,6 @@ test "EffectCode lists readable virtual sources used by this backend" { .tui => "/virtual/src/tui/panel_compositor.zig", .gui => "/virtual/shaders/ui.vert.glsl", .macos => "/virtual/src/macos/Sources/ScenePostprocessor.swift", - .web => unreachable, }; try std.testing.expect(std.mem.indexOf(u8, out.content, backend_source) != null); var paths = std.mem.tokenizeScalar(u8, out.content, '\n'); @@ -759,7 +756,6 @@ test "LookNext/LookPrev skips formatted context and selects comment match locati } test "LookNext/LookPrev selects one output location per row and opens nothing" { - if (platform == .web) return; var cwd_buf: [4096]u8 = undefined; var path_buf: [4096]u8 = undefined; const paths = try projectPaths(&cwd_buf, &path_buf); @@ -794,7 +790,6 @@ test "LookNext/LookPrev selects one output location per row and opens nothing" { } test "LookPrev exactly reverses LookNext across output panes and the ring seam" { - if (platform == .web) return; var cwd_buf: [4096]u8 = undefined; var path_buf: [4096]u8 = undefined; const paths = try projectPaths(&cwd_buf, &path_buf); @@ -985,7 +980,6 @@ test "Look ignores slash-only comment markers while retaining root and real path for ([_][]const u8{ "(//),", "///!" }) |marker| try std.testing.expectEqual(@as(?look.Span, null), look.wordSpan(null, marker, ".", &realbuf)); try std.testing.expectEqual(@as(?look.Span, null), look.lineSpan(null, " // ordinary comment", ".", &realbuf)); - if (platform == .web) return; try std.testing.expect(look.resolve(null, "/", ".", &realbuf) == .dir); try std.testing.expect(look.wordSpan(null, "/", ".", &realbuf) != null); var pathbuf: [4096]u8 = undefined; |
