mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
Fixed debug call
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
ac4d019a9a
commit
60a377a7f3
@ -17,7 +17,7 @@ func main() {
|
||||
e := echo.New()
|
||||
|
||||
// Debug mode
|
||||
e.Debug(true)
|
||||
e.SetDebug(true)
|
||||
|
||||
//------------
|
||||
// Middleware
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestRecover(t *testing.T) {
|
||||
e := echo.New()
|
||||
e.Debug(true)
|
||||
e.SetDebug(true)
|
||||
req, _ := http.NewRequest(echo.GET, "/", nil)
|
||||
w := httptest.NewRecorder()
|
||||
res := &echo.Response{Writer: w}
|
||||
|
Loading…
Reference in New Issue
Block a user