Skip to content

Commit

Permalink
Merge pull request #2066 from s-amann/fix-linting
Browse files Browse the repository at this point in the history
fix issues with linting new test files
  • Loading branch information
bennerv authored Apr 19, 2022
2 parents 725dbda + 2f3e0ea commit 6495779
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion pkg/gateway/changefeed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,5 @@ func TestUpdateFromIterator(t *testing.T) {
t.Error(cmp.Diff(gateway.gateways, tt.wantGateways))
}
})

}
}
5 changes: 0 additions & 5 deletions pkg/gateway/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
)

func TestUpdateGateway(t *testing.T) {

for _, tt := range []struct {
name string
gatewaysAlreadyPresent []*api.Gateway
Expand Down Expand Up @@ -39,7 +38,6 @@ func TestUpdateGateway(t *testing.T) {
wantValue: false,
},
} {

gateway := gateway{
gateways: make(map[string]*api.Gateway),
}
Expand All @@ -57,9 +55,6 @@ func TestUpdateGateway(t *testing.T) {
if doc := gateway.gateways[tt.doc.ID]; tt.wantValue && doc == nil {
t.Error(doc)
}

})

}

}
3 changes: 0 additions & 3 deletions pkg/gateway/linkid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
)

func TestGatewayVerification(t *testing.T) {

for _, tt := range []struct {
name string
host string
Expand Down Expand Up @@ -132,8 +131,6 @@ func TestGatewayVerification(t *testing.T) {
err == nil && tt.wantErr != "" {
t.Error(err)
}

})
}

}

0 comments on commit 6495779

Please sign in to comment.