summaryrefslogtreecommitdiff
path: root/tests/test_deprecated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_deprecated.cpp')
-rw-r--r--tests/test_deprecated.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp
index f401fbd..691b40a 100644
--- a/tests/test_deprecated.cpp
+++ b/tests/test_deprecated.cpp
@@ -44,7 +44,8 @@ TEST(document_parse_transfer_ownership)
CHECK(doc.parse(transfer_ownership_tag(), text));
CHECK_NODE(doc, STR("<node />"));
}
-
+
+#ifndef PUGIXML_NO_STL
// as_utf16 - it's now as_wide
TEST(as_utf16)
{
@@ -57,3 +58,4 @@ TEST(as_utf16)
CHECK(as_utf16("?\xd0\x80\xe2\x80\xbd") == L"?\x0400\x203D");
#endif
}
+#endif