Fix test_nsalloc_long_element() to work for UTF-16 builds

This commit is contained in:
Rhodri James 2017-08-23 12:06:03 +01:00 committed by Sebastian Pipping
parent 3a1b4a1940
commit d8dd851ecb

View File

@ -10852,10 +10852,10 @@ START_TEST(test_nsalloc_long_element)
" xmlns:foo='http://example.org/' bar:a='12'\n"
" xmlns:bar='http://example.org/'>"
"</foo:thisisalongenoughelementnametotriggerareallocation>";
const char *elemstr[] = {
"http://example.org/"
" thisisalongenoughelementnametotriggerareallocation foo",
"http://example.org/ a bar"
const XML_Char *elemstr[] = {
XCS("http://example.org/")
XCS(" thisisalongenoughelementnametotriggerareallocation foo"),
XCS("http://example.org/ a bar")
};
int i;
const int max_alloc_count = 30;