mirror of
https://github.com/labstack/echo.git
synced 2026-05-16 09:48:24 +02:00
committed by
Vishal Rana
parent
90d675fa2a
commit
f49d166e6f
+1
-2
@@ -135,8 +135,7 @@ func TestBindForm(t *testing.T) {
|
||||
rec := httptest.NewRecorder()
|
||||
c := e.NewContext(req, rec)
|
||||
req.Header.Set(HeaderContentType, MIMEApplicationForm)
|
||||
obj := []struct{ Field string }{}
|
||||
err := c.Bind(&obj)
|
||||
err := c.Bind(&[]struct{ Field string }{})
|
||||
assert.Error(t, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user