diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-08 17:32:01 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-08 17:32:01 +0000 |
commit | 1172d9bc4a1dbb2a16513bd918ade85486f54243 (patch) | |
tree | c081a82ecf553d3d0ebf5fe18e39def465359d40 /tests | |
parent | 981a445319f1acfe1194e61b320a9218a8a7a481 (diff) |
Fixed tests in NO_STL mode and IntelC deprecated constant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_deprecated.cpp | 4 |
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
|