Explorar o código

Merge pull request #1603 from alrs/remove-unused-testlogger

tests: remove unused testLogger
Diego Alvarez %!s(int64=6) %!d(string=hai) anos
pai
achega
82c97b2bce
Modificáronse 1 ficheiros con 0 adicións e 16 borrados
  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)
 }
 
-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) {
 	tt := func(t *testing.T, kErr KError) {
 		seedBroker := NewMockBroker(t, 1)