mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
fix tests for coretext to include cursor_height
This commit is contained in:
@ -1045,6 +1045,7 @@ test "coretext: metrics" {
|
|||||||
.overline_position = 0,
|
.overline_position = 0,
|
||||||
.overline_thickness = 1,
|
.overline_thickness = 1,
|
||||||
.box_thickness = 1,
|
.box_thickness = 1,
|
||||||
|
.cursor_height = 17,
|
||||||
}, ct_font.metrics);
|
}, ct_font.metrics);
|
||||||
|
|
||||||
// Resize should change metrics
|
// Resize should change metrics
|
||||||
@ -1060,5 +1061,6 @@ test "coretext: metrics" {
|
|||||||
.overline_position = 0,
|
.overline_position = 0,
|
||||||
.overline_thickness = 2,
|
.overline_thickness = 2,
|
||||||
.box_thickness = 2,
|
.box_thickness = 2,
|
||||||
|
.cursor_height = 34,
|
||||||
}, ct_font.metrics);
|
}, ct_font.metrics);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user