summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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");
}