summaryrefslogtreecommitdiff
path: root/test/test-name-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-name-parse.c')
-rw-r--r--test/test-name-parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-name-parse.c b/test/test-name-parse.c
index 7382360..8ee65fe 100644
--- a/test/test-name-parse.c
+++ b/test/test-name-parse.c
@@ -65,13 +65,13 @@ main (void)
goto bail;
} END (expect);
BEGIN (expect) {
- FcPatternAddInteger (expect, FC_WIDTH, FC_WIDTH_NORMAL);
- if ((ret = test ((const FcChar8 *)":normal", expect)) != 0)
+ FcPatternAddInteger (expect, FC_WEIGHT, FC_WEIGHT_NORMAL);
+ if ((ret = test ((const FcChar8 *)":weight=normal", expect)) != 0)
goto bail;
} END (expect);
BEGIN (expect) {
FcPatternAddInteger (expect, FC_WIDTH, FC_WIDTH_NORMAL);
- if ((ret = test ((const FcChar8 *)":normal", expect)) != 0)
+ if ((ret = test ((const FcChar8 *)":width=normal", expect)) != 0)
goto bail;
} END (expect);
BEGIN (expect) {