[tests] minor, ligcarets is fetched from gdef not gsub

This commit is contained in:
Ebrahim Byagowi 2020-07-06 00:10:16 +04:30 committed by GitHub
parent 122a2897e4
commit aa732e454a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include <hb-ot.h> #include <hb-ot.h>
static void static void
test_ot_layout_get_ligature_carets_ot_gsub (void) test_ot_layout_get_ligature_carets_ot_gdef (void)
{ {
hb_face_t *face = hb_test_open_font_file ("fonts/NotoNastaliqUrdu-Regular.ttf"); hb_face_t *face = hb_test_open_font_file ("fonts/NotoNastaliqUrdu-Regular.ttf");
hb_font_t *font = hb_font_create (face); hb_font_t *font = hb_font_create (face);
@ -167,7 +167,7 @@ main (int argc, char **argv)
{ {
g_test_init (&argc, &argv, NULL); g_test_init (&argc, &argv, NULL);
hb_test_add (test_ot_layout_get_ligature_carets_ot_gsub); hb_test_add (test_ot_layout_get_ligature_carets_ot_gdef);
hb_test_add (test_ot_layout_get_ligature_carets_empty); hb_test_add (test_ot_layout_get_ligature_carets_empty);
return hb_test_run (); return hb_test_run ();