summaryrefslogtreecommitdiff
path: root/test/read_test.cpp
diff options
context:
space:
mode:
authorljfa <ljfa-ag@web.de>2015-08-07 15:34:53 +0200
committerljfa <ljfa-ag@web.de>2015-08-07 15:34:53 +0200
commit53db961b58415fe966ca6cdf431ac7ba89bffd30 (patch)
tree60c76107ab3513a4eaae2397ae730006d567c9b8 /test/read_test.cpp
parent20fb31d81b3dfcf66867b4660a887f7b113f4833 (diff)
downloadProject-Tick-53db961b58415fe966ca6cdf431ac7ba89bffd30.tar.gz
Project-Tick-53db961b58415fe966ca6cdf431ac7ba89bffd30.zip
Add missing assertion
Diffstat (limited to 'test/read_test.cpp')
-rw-r--r--test/read_test.cpp1
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);