fix binduri test fail

This commit is contained in:
thinkerou 2018-11-27 13:20:03 +08:00
parent c475e00369
commit 8cf8c213bc

View File

@ -687,7 +687,7 @@ func TestUriBinding(t *testing.T) {
}
var not NotSupportStruct
assert.Error(t, b.BindUri(m, &not))
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) {