font: fix failing macos tests

This commit is contained in:
Mitchell Hashimoto
2023-10-05 08:08:04 -07:00
parent 26948d2310
commit 7a0b8a6781
2 changed files with 4 additions and 3 deletions

View File

@@ -431,6 +431,6 @@ test "coretext" {
try testing.expect(n.len > 0);
// Load it and verify it works
const face = try def.load(lib, .{ .points = 12 });
const face = try def.load(lib, .{ .size = .{ .points = 12 } });
try testing.expect(face.glyphIndex(' ') != null);
}