diff options
Diffstat (limited to 'test/read_test.cpp')
| -rw-r--r-- | test/read_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
