Skip to content

Commit

Permalink
remove factory_test.go changes, already fixed in knative#1777
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmason88 committed Feb 16, 2023
1 parent 1a7696e commit 1d24121
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/errors/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ func TestIsForbiddenError(t *testing.T) {
err := tc.Error
forbidden := tc.Forbidden
t.Run(tc.Name, func(t *testing.T) {
tc := tc
t.Parallel()
assert.Equal(t, IsForbiddenError(GetError(err)), forbidden)
})
Expand Down Expand Up @@ -213,7 +212,6 @@ func TestIsInternalError(t *testing.T) {
err := tc.Error
internal := tc.Internal
t.Run(tc.Name, func(t *testing.T) {
tc := tc
t.Parallel()
assert.Equal(t, api_errors.IsInternalError(GetError(err)), internal)
})
Expand Down Expand Up @@ -248,7 +246,6 @@ func TestStatusError(t *testing.T) {
for _, tc := range cases {
itc := tc
t.Run(tc.Name, func(t *testing.T) {
tc := tc
t.Parallel()
assert.Assert(t, itc.ErrorType(GetError(itc.Error)))
})
Expand Down

0 comments on commit 1d24121

Please sign in to comment.