From 279e29a9d4f51a6f984327028fd6af3dcf1a588c Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 14:37:01 +0100 Subject: [PATCH] Fix test_attributes() to work for UTF-16 builds --- expat/tests/runtests.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index e58d5d76..ad72d264 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -3109,18 +3109,18 @@ START_TEST(test_attributes) "" ""; AttrInfo doc_info[] = { - { "a", "1" }, - { "b", "2" }, - { "id", "one" }, + { XCS("a"), XCS("1") }, + { XCS("b"), XCS("2") }, + { XCS("id"), XCS("one") }, { NULL, NULL } }; AttrInfo tag_info[] = { - { "c", "3" }, + { XCS("c"), XCS("3") }, { NULL, NULL } }; ElementInfo info[] = { - { "doc", 3, "id", NULL }, - { "tag", 1, NULL, NULL }, + { XCS("doc"), 3, XCS("id"), NULL }, + { XCS("tag"), 1, NULL, NULL }, { NULL, 0, NULL, NULL } }; info[0].attributes = doc_info; -- 2.50.0