summaryrefslogtreecommitdiff
path: root/test/output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/output.zig')
-rw-r--r--test/output.zig17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/output.zig b/test/output.zig
index 530db77c..2d872bd1 100644
--- a/test/output.zig
+++ b/test/output.zig
@@ -495,23 +495,6 @@ test "Mini syntax colors survive toggles themes and rendering without source acc
}
}
-test "Mini restore rejects inconsistent metadata before publishing a pane" {
- const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true });
- defer p.deinit();
- const id = p.freeSlot().?;
- const serial = p.next_serial;
- for ([_]pardes.dump.File{
- .{ .content = "x", .mini_source = "/source.zig", .mini_colors_b64 = "AA==" },
- .{ .content = "x", .origin = "Mini", .mini_source = "/source.zig", .mini_colors_b64 = "" },
- .{ .content = "x", .origin = "Mini", .mini_source = "/source.zig", .mini_colors_b64 = "BQ==" },
- .{ .content = "x", .origin = "Mini", .mini_colors_b64 = "AA==" },
- }) |saved| {
- try std.testing.expectError(error.InvalidMini, panes.File.restore(p, id, .{ .kind = .file, .tag = "", .body = "", .file = saved }));
- try std.testing.expect(p.panes[id] == null);
- try std.testing.expectEqual(serial, p.next_serial);
- }
-}
-
test "Mini failures leave its existing snapshot and focus unchanged" {
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true });
defer p.deinit();