Skip to content

Commit

Permalink
lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lkingland committed Mar 6, 2024
1 parent b72c961 commit ca1df7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"knative.dev/func/pkg/mock"
)

const namespace = "func"

// Test_NewTestClient ensures that the convenience method for
// constructing a mocked client for testing properly considers options:
// options provided to the factory constructor are considered exaustive,
Expand Down
2 changes: 1 addition & 1 deletion cmd/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestDelete_Default(t *testing.T) {
)

remover.RemoveFn = func(n, ns string) error {
if name != name {
if n != name {
t.Fatalf("expected name '%v', got '%v'", name, n)
}
if ns != namespace {
Expand Down

0 comments on commit ca1df7f

Please sign in to comment.