Outline GeneratorException from generators header

This commit is contained in:
Martin Hořeňovský committed 2020-02-14 16:15:47 +01:00
1 parent b2a6523d85
commit db1a0465dc
13 files changed
+71 -28

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ public:
LineGenerator() {
m_stream.str("1\n2\n3\n4\n");
if (!next()) {
throw Catch::GeneratorException("Couldn't read a single line");
Catch::Generators::Detail::throw_generator_exception("Couldn't read a single line");
}
}