File tree 2 files changed +0
-11
lines changed 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -140,16 +140,6 @@ TestResult& TestResult::popPredicateContext() {
140
140
141
141
bool TestResult::failed () const { return !failures_.empty (); }
142
142
143
- unsigned int TestResult::getAssertionNestingLevel () const {
144
- unsigned int level = 0 ;
145
- const PredicateContext* lastNode = &rootPredicateNode_;
146
- while (lastNode->next_ != 0 ) {
147
- lastNode = lastNode->next_ ;
148
- ++level;
149
- }
150
- return level;
151
- }
152
-
153
143
void TestResult::printFailure (bool printTestName) const {
154
144
if (failures_.empty ()) {
155
145
return ;
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ class TestResult {
97
97
98
98
private:
99
99
TestResult& addToLastFailure (const JSONCPP_STRING& message);
100
- unsigned int getAssertionNestingLevel () const ;
101
100
// / Adds a failure or a predicate context
102
101
void addFailureInfo (const char * file,
103
102
unsigned int line,
You can’t perform that action at this time.
0 commit comments