Commit 8f293869 by Maarten L. Hekkelman

fix file read test

parent d2427d57
...@@ -1671,7 +1671,5 @@ BOOST_AUTO_TEST_CASE(reading_file_1) ...@@ -1671,7 +1671,5 @@ BOOST_AUTO_TEST_CASE(reading_file_1)
std::istringstream is("Hello, world!"); std::istringstream is("Hello, world!");
cif::File file; cif::File file;
file.load(is); BOOST_CHECK_THROW(file.load(is), std::runtime_error);
BOOST_CHECK_THROW(file.firstDatablock(), std::runtime_error);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment