File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ func (asserter asserter) reportAssertionFault(
95
95
func (asserter asserter ) reportPanic (s string ) {
96
96
if asserter .isUnitTesting () && asserter .hasCallerInfo () {
97
97
fmt .Fprintln (os .Stderr , officialTestOutputPrefix + s )
98
- tester ().FailNow () // TODO: tester
98
+ tester ().FailNow ()
99
99
} else if asserter .isUnitTesting () {
100
100
const framesToSkip = 4 // how many fn calls there is before FuncName call
101
101
fatal (s , framesToSkip )
@@ -119,7 +119,7 @@ func fatal(s string, framesToSkip int) {
119
119
}
120
120
// test output goes thru stderr, no need for t.Log(), test Fail needs it.
121
121
fmt .Fprintln (os .Stderr , officialTestOutputPrefix + info )
122
- tester ().FailNow () // TODO: tester
122
+ tester ().FailNow ()
123
123
}
124
124
125
125
var longFmtStr = `
@@ -175,5 +175,5 @@ func (asserter asserter) hasFormattedCallerInfo() bool {
175
175
// isUnitTesting is expensive because it calls tester(). think carefully where
176
176
// to use it
177
177
func (asserter asserter ) isUnitTesting () bool {
178
- return asserter & asserterUnitTesting != 0 && tester () != nil // TODO: tester
178
+ return asserter & asserterUnitTesting != 0 && tester () != nil
179
179
}
You can’t perform that action at this time.
0 commit comments