tests: Fixed WCHAR mode compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@774 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
6bc4357567
commit
e3bbc9c40e
@ -854,7 +854,7 @@ TEST(document_load_exceptions)
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
pugi::xml_document doc;
|
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");
|
CHECK_FORCE_FAIL("Expected parsing failure");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user