Outline GeneratorException from generators header
This commit is contained in:
parent
b2a6523d85
commit
db1a0465dc
13 changed files with 71 additions and 28 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue