mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-17 23:46:57 +08:00
fix errcheck warnings (#1739)
This commit is contained in:

committed by
thinkerou

parent
29a145c85d
commit
b056a34bdc
@ -87,7 +87,7 @@ func TestRunEmptyWithEnv(t *testing.T) {
|
||||
func TestRunTooMuchParams(t *testing.T) {
|
||||
router := New()
|
||||
assert.Panics(t, func() {
|
||||
router.Run("2", "2")
|
||||
assert.NoError(t, router.Run("2", "2"))
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user