mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-05 05:39:53 +01:00
Examples: add semicolon after INFO
This commit is contained in:
parent
899c5ed3df
commit
73d533ff5c
@ -387,16 +387,16 @@ TEST_CASE( "2: Testcase with sections", "[tag-A][tag-B]" ) {
|
|||||||
REQUIRE( i == 42 );
|
REQUIRE( i == 42 );
|
||||||
|
|
||||||
SECTION("Section 1") {
|
SECTION("Section 1") {
|
||||||
INFO("Section 1")
|
INFO("Section 1");
|
||||||
i = 7;
|
i = 7;
|
||||||
SECTION("Section 1.1") {
|
SECTION("Section 1.1") {
|
||||||
INFO("Section 1.1")
|
INFO("Section 1.1");
|
||||||
REQUIRE( i == 42 );
|
REQUIRE( i == 42 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("Section 2") {
|
SECTION("Section 2") {
|
||||||
INFO("Section 2")
|
INFO("Section 2");
|
||||||
REQUIRE( i == 42 );
|
REQUIRE( i == 42 );
|
||||||
}
|
}
|
||||||
WARN("At end of test case");
|
WARN("At end of test case");
|
||||||
|
Loading…
Reference in New Issue
Block a user