From 3b6d8f3175badf13cdeb52cfe7509f58b96e5fbc Mon Sep 17 00:00:00 2001 From: Qwerasd Date: Sun, 22 Dec 2024 12:52:04 -0500 Subject: [PATCH] fix tests for coretext to include cursor_height --- src/font/face/coretext.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/font/face/coretext.zig b/src/font/face/coretext.zig index 885ea277e..92ab4d396 100644 --- a/src/font/face/coretext.zig +++ b/src/font/face/coretext.zig @@ -1045,6 +1045,7 @@ test "coretext: metrics" { .overline_position = 0, .overline_thickness = 1, .box_thickness = 1, + .cursor_height = 17, }, ct_font.metrics); // Resize should change metrics @@ -1060,5 +1061,6 @@ test "coretext: metrics" { .overline_position = 0, .overline_thickness = 2, .box_thickness = 2, + .cursor_height = 34, }, ct_font.metrics); }