From 5267520e078ed413df78f3a6781fd5370b6da63a Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Fri, 23 Feb 2018 18:36:22 -0800 Subject: [PATCH] [subset] update hdmx test to create input explicitly --- test/api/test-subset-hdmx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/test-subset-hdmx.c b/test/api/test-subset-hdmx.c index 291eb7937..5211dbc48 100644 --- a/test/api/test-subset-hdmx.c +++ b/test/api/test-subset-hdmx.c @@ -41,7 +41,7 @@ test_subset_hdmx_simple_subset (void) hb_set_t *codepoints = hb_set_create (); hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'c'); - hb_face_t *face_abc_subset = hb_subset_test_create_subset (face_abc, codepoints); + hb_face_t *face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); hb_set_destroy (codepoints); hb_subset_test_check (face_ac, face_abc_subset, HB_TAG ('h','d','m','x')); @@ -60,7 +60,7 @@ test_subset_hdmx_noop (void) hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'b'); hb_set_add (codepoints, 'c'); - hb_face_t *face_abc_subset = hb_subset_test_create_subset (face_abc, codepoints); + hb_face_t *face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); hb_set_destroy (codepoints); hb_subset_test_check (face_abc, face_abc_subset, HB_TAG ('h','d','m','x'));