diff options
Diffstat (limited to 'test/panes.zig')
| -rw-r--r-- | test/panes.zig | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/panes.zig b/test/panes.zig index 1e00fa94..22fdd225 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -2321,16 +2321,10 @@ const OutputTests = struct { const ImageTests = struct { const State = panes.Image.State; - const toggleGlyphArt = panes.Image.toggleGlyphArt; - const togglePalette = panes.Image.togglePalette; - const toggleAscii = panes.Image.toggleAscii; const tagPrefix = panes.Image.tagPrefix; test "pane-local renderer choices are visible in the image tag" { - var state: State = .{ .path = @constCast("/tmp/picture.ppm") }; - toggleGlyphArt(&state); - togglePalette(&state); - toggleAscii(&state); + const state: State = .{ .path = @constCast("/tmp/picture.ppm"), .glyph_art = true, .pmode = .terminal, .ascii = false }; const tag = try tagPrefix(std.testing.allocator, &state, state.glyph_art); defer std.testing.allocator.free(tag); try std.testing.expectEqualStrings( |
