From 2da79f70a1d562d883bdde5b74f6603374fb7023 Mon Sep 17 00:00:00 2001 From: Lie Yan Date: Sat, 9 Mar 2024 22:45:37 +0800 Subject: [PATCH] fix(test-ot-math.c): remove redundant lines --- test/api/test-ot-math.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/api/test-ot-math.c b/test/api/test-ot-math.c index 0f539f39b..1510d2f4e 100644 --- a/test/api/test-ot-math.c +++ b/test/api/test-ot-math.c @@ -746,7 +746,6 @@ test_get_glyph_assembly (void) g_assert(!(parts[0].flags & HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER)); g_assert(hb_font_get_glyph_from_name (hb_font, "vertical", -1, &glyph)); g_assert_cmpint(parts[1].glyph, ==, glyph); - g_assert_cmpint(parts[1].glyph, ==, glyph); g_assert_cmpint(parts[1].start_connector_length, ==, 227); g_assert_cmpint(parts[1].end_connector_length, ==, 365); g_assert_cmpint(parts[1].full_advance, ==, 1000); @@ -759,8 +758,6 @@ test_get_glyph_assembly (void) g_assert(!(parts[2].flags & HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER)); g_assert(hb_font_get_glyph_from_name (hb_font, "vertical", -1, &glyph)); g_assert_cmpint(parts[3].glyph, ==, glyph); - g_assert_cmpint(parts[3].glyph, ==, glyph); - g_assert_cmpint(parts[3].glyph, ==, glyph); g_assert_cmpint(parts[3].start_connector_length, ==, 400); g_assert_cmpint(parts[3].end_connector_length, ==, 296); g_assert_cmpint(parts[3].full_advance, ==, 1000);