mirror of
https://github.com/labstack/echo.git
synced 2025-12-13 23:35:43 +02:00
Not need of Echo.SetMaxParam
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -41,13 +41,6 @@ func TestEcho(t *testing.T) {
|
||||
assert.Equal(t, http.StatusInternalServerError, rec.Code)
|
||||
}
|
||||
|
||||
// TODO: Improve me!
|
||||
func TestEchoMaxParam(t *testing.T) {
|
||||
e := New()
|
||||
e.SetMaxParam(8)
|
||||
assert.EqualValues(t, 8, e.maxParam)
|
||||
}
|
||||
|
||||
func TestEchoIndex(t *testing.T) {
|
||||
e := New()
|
||||
e.Index("examples/website/public/index.html")
|
||||
|
||||
Reference in New Issue
Block a user