diff options
Diffstat (limited to 'tests/testserialize.c')
-rw-r--r-- | tests/testserialize.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testserialize.c b/tests/testserialize.c index e480da31..f8a7bca3 100644 --- a/tests/testserialize.c +++ b/tests/testserialize.c @@ -36,7 +36,7 @@ test_serialize_attr_list (void) "0 100 font-desc \"Cantarell, Sans, Italic Ultra-Light 64\", 10 11 weight 100", "0 -1 size 10", "0 1 weight 700, 2 4 weight book", - "0 200 rise 100\n5 15 family Times\n10 11 size 10240\n11 100 fallback 0\n30 60 stretch 2\n", + "0 200 rise 100\n5 15 family \"Times\"\n10 11 size 10240\n11 100 fallback 0\n30 60 stretch 2\n", "" }; const char *roundtripped[] = { @@ -47,7 +47,7 @@ test_serialize_attr_list (void) "0 100 font-desc \"Cantarell,Sans Ultra-Light Italic 64\"\n10 11 weight thin", "0 4294967295 size 10", "0 1 weight bold\n2 4 weight book", - "0 200 rise 100\n5 15 family Times\n10 11 size 10240\n11 100 fallback false\n30 60 stretch condensed", + "0 200 rise 100\n5 15 family \"Times\"\n10 11 size 10240\n11 100 fallback false\n30 60 stretch condensed", "" }; const char *invalid[] = { @@ -366,7 +366,7 @@ test_serialize_layout_invalid (void) " }\n" " ]\n" "}\n", - PANGO_LAYOUT_DESERIALIZE_INVALID_VALUE + PANGO_LAYOUT_DESERIALIZE_MISSING_VALUE }, { "{\n" @@ -382,7 +382,7 @@ test_serialize_layout_invalid (void) "{\n" " \"attributes\" : [\n" " {\n" - " \"type\" : \"alignment\",\n" + " \"type\" : \"background\",\n" " \"value\" : \"nonsense\"\n" " }\n" " ]\n" |