Browse Source

tests: remove unused testLogger{}

Lars Lehtonen 5 years ago
parent
commit
32082edf2b
1 changed files with 0 additions and 16 deletions
  1. 0 16
      async_producer_test.go

+ 0 - 16
async_producer_test.go

@@ -311,22 +311,6 @@ func TestAsyncProducerFailureRetry(t *testing.T) {
 	closeProducer(t, producer)
 	closeProducer(t, producer)
 }
 }
 
 
-type testLogger struct {
-	t *testing.T
-}
-
-func (l *testLogger) Print(v ...interface{}) {
-	l.t.Log(v...)
-}
-
-func (l *testLogger) Printf(format string, v ...interface{}) {
-	l.t.Logf(format, v...)
-}
-
-func (l *testLogger) Println(v ...interface{}) {
-	l.t.Log(v...)
-}
-
 func TestAsyncProducerRecoveryWithRetriesDisabled(t *testing.T) {
 func TestAsyncProducerRecoveryWithRetriesDisabled(t *testing.T) {
 	tt := func(t *testing.T, kErr KError) {
 	tt := func(t *testing.T, kErr KError) {
 		seedBroker := NewMockBroker(t, 1)
 		seedBroker := NewMockBroker(t, 1)