Skip to content

Commit 6a045e0

Browse files
committed
fix(diamond): place EXERCISM_RUN_ALL_TESTS after first test
1 parent 5d1fd26 commit 6a045e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/diamond/diamond_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ TEST_CASE("Degenerate case with a single 'A' row",
2929
REQUIRE(diamond::rows('A') == expected);
3030
}
3131

32+
#if defined(EXERCISM_RUN_ALL_TESTS)
3233
TEST_CASE("Degenerate case with no row containing 3 distinct groups of spaces",
3334
"[bd6a6d78-9302-42e9-8f60-ac1461e9abae]") {
3435
std::vector<std::string> expected{" A ", "B B", " A "};
@@ -106,5 +107,4 @@ TEST_CASE("Largest possible diamond",
106107
" A "};
107108
REQUIRE(diamond::rows('Z') == expected);
108109
}
109-
#if defined(EXERCISM_RUN_ALL_TESTS)
110110
#endif

0 commit comments

Comments
 (0)