mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
skip testShaperWithDiscoveredFont if discovery is not available
This commit is contained in:
@@ -2108,6 +2108,7 @@ fn testShaperWithFont(alloc: Allocator, font_req: TestFont) !TestShaper {
|
||||
}
|
||||
|
||||
fn testShaperWithDiscoveredFont(alloc: Allocator, font_req: [:0]const u8) !TestShaper {
|
||||
if (font.Discover == void) return error.SkipZigTest;
|
||||
var lib = try Library.init(alloc);
|
||||
errdefer lib.deinit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user