forked from catchorg/Catch2
Allow generators to declare themselves (infinite)
This will be useful later to implement warning on infinitely running `GENERATE` expressions.
This commit is contained in:
@@ -83,6 +83,8 @@ namespace {
|
||||
}
|
||||
|
||||
auto next() -> bool override { return false; }
|
||||
|
||||
auto isFinite() const -> bool override { return true; }
|
||||
};
|
||||
|
||||
static auto make_test_skip_generator()
|
||||
|
||||
Reference in New Issue
Block a user