Fix test_alloc_set_base() to work for UTF-16 builds

This commit is contained in:
Rhodri James 2017-08-23 11:44:57 +01:00 committed by Sebastian Pipping
parent b22dc0b44d
commit 0cba195e7c

View File

@ -8817,7 +8817,7 @@ END_TEST
/* Test robustness of XML_SetBase against a failing allocator */ /* Test robustness of XML_SetBase against a failing allocator */
START_TEST(test_alloc_set_base) START_TEST(test_alloc_set_base)
{ {
const XML_Char *new_base = "/local/file/name.xml"; const XML_Char *new_base = XCS("/local/file/name.xml");
int i; int i;
const int max_alloc_count = 5; const int max_alloc_count = 5;