1
0
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:
Vishal Rana
2015-06-03 15:18:27 -07:00
parent 1a5e2935ea
commit e7c1d5d9fb
6 changed files with 140 additions and 135 deletions

View File

@@ -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")