mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 09:34:33 +08:00
fix binduri test fail
This commit is contained in:
parent
c475e00369
commit
8cf8c213bc
@ -687,7 +687,7 @@ func TestUriBinding(t *testing.T) {
|
||||
}
|
||||
var not NotSupportStruct
|
||||
assert.Error(t, b.BindUri(m, ¬))
|
||||
assert.Equal(t, "", not.Name)
|
||||
assert.Equal(t, map[string]interface{}(nil), not.Name)
|
||||
}
|
||||
|
||||
func testFormBinding(t *testing.T, method, path, badPath, body, badBody string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user