From 53db961b58415fe966ca6cdf431ac7ba89bffd30 Mon Sep 17 00:00:00 2001 From: ljfa Date: Fri, 7 Aug 2015 15:34:53 +0200 Subject: Add missing assertion --- test/read_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/read_test.cpp') diff --git a/test/read_test.cpp b/test/read_test.cpp index d95c762d43..e6ec82d59f 100644 --- a/test/read_test.cpp +++ b/test/read_test.cpp @@ -198,6 +198,7 @@ void test_read_misc() //Toplevel tag other than compound file.open("toplevel_string", std::ios::binary); + ASSERT(file); EXPECT_EXCEPTION(reader.read_compound(), io::input_error); ASSERT(!file); -- cgit 0.0.5-2-1-g0f52