diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-11 00:33:35 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-11 00:33:35 -0700 |
commit | 03ea04c32a6c1961d28d3b5dc66dad906dfc8ca6 (patch) | |
tree | 6c50690159139f6f981ac927d2a1f2a7c4fa720c /tests/test_dom_modify.cpp | |
parent | 29fef9aca2f5832eb721f9d097d2a6f6ebdb0179 (diff) |
tests: Use char_t instead of wchar_t
Diffstat (limited to 'tests/test_dom_modify.cpp')
-rw-r--r-- | tests/test_dom_modify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp index 8610a74..af833a6 100644 --- a/tests/test_dom_modify.cpp +++ b/tests/test_dom_modify.cpp @@ -1108,10 +1108,10 @@ TEST(dom_node_append_buffer_out_of_memory_nodes) for (unsigned int i = 0; i < count; ++i) data += STR("<a/>"); - test_runner::_memory_fail_threshold = 32768 + 128 + data.length() * sizeof(wchar_t) + 32; + test_runner::_memory_fail_threshold = 32768 + 128 + data.length() * sizeof(char_t) + 32; xml_document doc; - CHECK(doc.append_buffer(data.c_str(), data.length() * sizeof(wchar_t), parse_fragment).status == status_out_of_memory); + CHECK(doc.append_buffer(data.c_str(), data.length() * sizeof(char_t), parse_fragment).status == status_out_of_memory); unsigned int valid = 0; |