Skip to content

Commit

Permalink
Remove unused parameters in test
Browse files Browse the repository at this point in the history
  • Loading branch information
betmix-matt committed Dec 9, 2021
1 parent a9e8c16 commit 3d3469e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions runtime/mux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ func TestMuxServeHTTP(t *testing.T) {
respContent string

disablePathLengthFallback bool
encodedSlashInPathAllowed bool
unescapingMode runtime.UnescapingMode
}{
{
Expand Down Expand Up @@ -435,10 +434,9 @@ func TestMuxServeHTTP(t *testing.T) {
headers: map[string]string{
"Content-Type": "application/json",
},
respStatus: http.StatusOK,
encodedSlashInPathAllowed: true,
unescapingMode: runtime.UnescapingModeAllCharacters,
respContent: "POST /api/v1/{name=organizations/*}:action",
respStatus: http.StatusOK,
unescapingMode: runtime.UnescapingModeAllCharacters,
respContent: "POST /api/v1/{name=organizations/*}:action",
},
} {
t.Run(strconv.Itoa(i), func(t *testing.T) {
Expand Down

0 comments on commit 3d3469e

Please sign in to comment.