forked from mirror/gin
chore: remove duplicate test 'assert.Equal' (#2617)
Co-authored-by: thinkerou <thinkerou@gmail.com>
This commit is contained in:
parent
ed6f85c478
commit
a331dc6a31
|
@ -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"))
|
||||
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue