Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cheukt committed Jan 28, 2025
1 parent 9a8c5f5 commit 7fb3bff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tunnel/tunnel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import (
"io"
"testing"

"go.viam.com/test"

"go.viam.com/rdk/logging"
"go.viam.com/rdk/testutils/inject"
"go.viam.com/rdk/tunnel"
"go.viam.com/test"
)

func TestReaderSenderLoop(t *testing.T) {
Expand Down Expand Up @@ -88,6 +89,7 @@ func TestReaderSenderLoop(t *testing.T) {
test.That(t, sendCt, test.ShouldEqual, 1)
})

//nolint:dupl
t.Run("one message with read err", func(t *testing.T) {
connClosed := make(chan struct{})
defer close(connClosed)
Expand All @@ -114,6 +116,7 @@ func TestReaderSenderLoop(t *testing.T) {
test.That(t, sendCt, test.ShouldEqual, 1)
})

//nolint:dupl
t.Run("one message with send err", func(t *testing.T) {
connClosed := make(chan struct{})
defer close(connClosed)
Expand Down

0 comments on commit 7fb3bff

Please sign in to comment.