Outline GeneratorException from generators header

This commit is contained in:
Martin Hořeňovský 2020-02-14 10:32:30 +01:00
parent b2a6523d85
commit db1a0465dc
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
13 changed files with 71 additions and 28 deletions

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");
}
}