chore: fix test fail (#1669)
* chore: fix test fail * fix binduri test fail
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user