Skip to content

Commit

Permalink
chore: remove duplicate test 'assert.Equal' (#2617)
Browse files Browse the repository at this point in the history
Co-authored-by: thinkerou <[email protected]>
  • Loading branch information
0Lookingfor0 and thinkerou authored Mar 27, 2021
1 parent ed6f85c commit a331dc6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ func TestRouteParamsByName(t *testing.T) {

assert.True(t, ok)
assert.Equal(t, name, c.Param("name"))
assert.Equal(t, name, c.Param("name"))
assert.Equal(t, lastName, c.Param("last_name"))

assert.Empty(t, c.Param("wtf"))
Expand Down Expand Up @@ -272,7 +271,6 @@ func TestRouteParamsByNameWithExtraSlash(t *testing.T) {

assert.True(t, ok)
assert.Equal(t, name, c.Param("name"))
assert.Equal(t, name, c.Param("name"))
assert.Equal(t, lastName, c.Param("last_name"))

assert.Empty(t, c.Param("wtf"))
Expand Down

0 comments on commit a331dc6

Please sign in to comment.