diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-03 08:03:23 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-03 08:03:23 +0000 |
commit | 085584aa30b79e7755ffdf50882f7decfd4336be (patch) | |
tree | bef6269609b46a25a7e823bbba3716b2423e0e83 /tests/test_document.cpp | |
parent | 4f6ecee14cbbf72009ef1c7c27007773c9efa385 (diff) |
tests: Preparations for custom new/delete (leak detection)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@620 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r-- | tests/test_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 85a63a7..4a915df 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -80,8 +80,8 @@ TEST(document_load_stream_error) CHECK(doc.load(fs2).status == status_io_error); #endif - test_runner::_memory_fail_threshold = 1; std::istringstream iss("<node/>"); + test_runner::_memory_fail_threshold = 1; CHECK(doc.load(iss).status == status_out_of_memory); } |