Skip to content

Commit fafb81c

Browse files
committed
fixed the font size check
1 parent 0cf468a commit fafb81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scene/test_fontfile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ TEST_CASE("[FontFile] Create font file and check data") {
6060
CHECK_MESSAGE(font_file->get_data().is_empty() == false, "Fontfile should have been loaded.");
6161
CHECK_MESSAGE(font_file->get_font_name() == "Inter", "Loaded correct font name.");
6262
CHECK_MESSAGE(font_file->get_font_style_name() == "Regular", "Loaded correct font style.");
63-
CHECK_MESSAGE(font_file->get_data().size() == 148480llu, "Whole fontfile was loaded.");
63+
CHECK_MESSAGE(font_file->get_data().size() == 108488llu, "Whole fontfile was loaded.");
6464

6565
// Valid glyphs.
6666
CHECK_MESSAGE(font_file->get_glyph_index(2, 'a', 0) != 0, "Glyph index for 'a' is valid.");

0 commit comments

Comments
 (0)