Skip to content

Commit 683c857

Browse files
committed
Clean up explanation in tests
1 parent 1b049bd commit 683c857

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/ExtraTests/X20-AssertionStartingEventGoesBeforeAssertionIsEvaluated.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
// SPDX-License-Identifier: BSL-1.0
88

99
/**\file
10-
* TODO: FIXES Registers custom reporter that reports testCase* events
10+
* Registers an event listener to increments counter of assertionStarting events.
1111
*
12-
* The resulting executable can then be used by an external Python script
13-
* to verify that testCase{Starting,Ended} and testCasePartial{Starting,Ended}
14-
* events are properly nested.
12+
* Different assertion macros then check that the counter is at expected
13+
* value when they are evaluated.
1514
*/
1615

1716
#include <catch2/catch_test_macros.hpp>
@@ -23,9 +22,6 @@ namespace {
2322

2423
static size_t assertion_starting_events_seen = 0;
2524

26-
// TODO: custom matcher to check that "assertion_starting_events_seen" has
27-
// the right number of checks
28-
2925
class AssertionStartingListener : public Catch::EventListenerBase {
3026
public:
3127
AssertionStartingListener( Catch::IConfig const* config ):

0 commit comments

Comments
 (0)