Fix test_unknown_ascii_encoding_ok() to work in UTF-16 builds

This commit is contained in:
Rhodri James 2017-08-22 16:35:37 +01:00 committed by Sebastian Pipping
parent 87742dee07
commit 8f6c90dc72

View File

@ -6003,7 +6003,7 @@ START_TEST(test_unknown_ascii_encoding_ok)
"<doc>Hello, world</doc>";
XML_SetUnknownEncodingHandler(parser, MiscEncodingHandler, NULL);
run_character_check(text, "Hello, world");
run_character_check(text, XCS("Hello, world"));
}
END_TEST