summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 19:01:50 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 19:01:50 +0000
commite3bbc9c40eac21cd4210824f1d7de3f47c645e15 (patch)
treedb3221909b8a996eed97d5556fab0522b04c7d8d /tests
parent6bc43575676766cb232a296874d32512150d2265 (diff)
tests: Fixed WCHAR mode compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@774 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r--tests/test_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index e424836..f9fcc97 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -854,7 +854,7 @@ TEST(document_load_exceptions)
try
{
pugi::xml_document doc;
- if (!doc.load("<node attribute='value")) throw std::bad_alloc();
+ if (!doc.load(STR("<node attribute='value"))) throw std::bad_alloc();
CHECK_FORCE_FAIL("Expected parsing failure");
}