1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-29 22:48:07 +02:00

Changed constants

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-04-05 21:49:55 -07:00
parent 7b433cdd74
commit 86138ed18e
4 changed files with 51 additions and 51 deletions

View File

@@ -11,7 +11,7 @@ import (
func TestContext(t *testing.T) {
b, _ := json.Marshal(u1)
r, _ := http.NewRequest(MethodPOST, "/users/1", bytes.NewReader(b))
r, _ := http.NewRequest(POST, "/users/1", bytes.NewReader(b))
c := &Context{
Response: &response{ResponseWriter: httptest.NewRecorder()},
Request: r,