diff options
Diffstat (limited to 'logging/testingLogger.go')
-rw-r--r-- | logging/testingLogger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logging/testingLogger.go b/logging/testingLogger.go index bbdb0f32a..09b789fb0 100644 --- a/logging/testingLogger.go +++ b/logging/testingLogger.go @@ -22,7 +22,7 @@ import ( // TestLogWriter is an io.Writer that wraps a testing.T (or a testing.B) -- anything written to it gets logged with t.Log(...) // Being an io.Writer lets us pass it to Logger.SetOutput() in testing code -- this way if we want we can use Go's built-in testing log instead of making a new base.log file for each test. -// As a bonus, the detailed logs produced in a Travis test are now easily accessible and are printed if and only if that particular ttest fails. +// As a bonus, the detailed logs produced in a Travis test are now easily accessible and are printed if and only if that particular test fails. type TestLogWriter struct { testing.TB } |