summaryrefslogtreecommitdiff
path: root/tests/test-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-font.c')
-rw-r--r--tests/test-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-font.c b/tests/test-font.c
index d02c7932..58a5bf8c 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -220,7 +220,7 @@ test_enumerate (void)
for (i = 0; i < n_faces; i++)
{
face = pango_font_family_get_face (families[0], pango_font_face_get_face_name (faces[i]));
- g_assert_true (face == faces[i]);
+ g_assert_cmpstr (pango_font_face_get_face_name (face), ==, pango_font_face_get_face_name (faces[i]));
}
desc = pango_font_description_new ();