Skip to content

Commit

Permalink
Update socket_listener_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed May 16, 2023
1 parent ad1e4f9 commit 2da035f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/inputs/socket_listener/socket_listener_test.go
Expand Up @@ -16,7 +16,6 @@ import (
"time"

"github.com/google/go-cmp/cmp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/influxdata/telegraf"
Expand Down Expand Up @@ -137,7 +136,7 @@ func TestSocketListener(t *testing.T) {
}

// Setup plugin according to test specification
logger := &CaptureLogger{}
logger := &testutil.CaptureLogger{}
plugin := &SocketListener{
Log: logger,
ServiceAddress: proto + "://" + serverAddr,
Expand Down

0 comments on commit 2da035f

Please sign in to comment.