We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code, and variations of it, breaks for me using Catch v1.3.3 on Visual Studio 2015:
for (int i = 0; i < 10; ++i) { WHEN("Foo") { THEN("Bar") { REQUIRE(true); } AND_THEN("Baz") { REQUIRE(true); } } }
This is the failing assert in line 5450: assert(m_parent);
assert(m_parent);
The text was updated successfully, but these errors were encountered:
This still happens with Catch 1.5.9 on VS 2015.
Sorry, something went wrong.
I'm not sure SECTIONs (which is what the BDD style macros are) are intended to be used in loops.
SECTION
@onqtam they are not. However this case should be detected and a descriptive error raised.
No branches or pull requests
The following code, and variations of it, breaks for me using Catch v1.3.3 on Visual Studio 2015:
This is the failing assert in line 5450:
assert(m_parent);
The text was updated successfully, but these errors were encountered: