From 085584aa30b79e7755ffdf50882f7decfd4336be Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 3 Aug 2010 08:03:23 +0000 Subject: tests: Preparations for custom new/delete (leak detection) git-svn-id: http://pugixml.googlecode.com/svn/trunk@620 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_document.cpp') 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(""); + test_runner::_memory_fail_threshold = 1; CHECK(doc.load(iss).status == status_out_of_memory); } -- cgit v1.2.3