Skip to content

Commit 3e1ace2

Browse files
committed
Two little typos on comments
1 parent c7c4395 commit 3e1ace2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

middleware/method_override_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestMethodOverride(t *testing.T) {
3434
m(h)(c)
3535
assert.Equal(t, echo.DELETE, req.Method)
3636

37-
// Override with query paramter
37+
// Override with query parameter
3838
m = MethodOverrideWithConfig(MethodOverrideConfig{Getter: MethodFromQuery("_method")})
3939
req, _ = http.NewRequest(echo.POST, "/?_method="+echo.DELETE, nil)
4040
rec = httptest.NewRecorder()

router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func (n *node) checkMethodNotAllowed() HandlerFunc {
288288
return NotFoundHandler
289289
}
290290

291-
// Find lookup a handler registed for method and path. It also parses URL for path
291+
// Find lookup a handler registered for method and path. It also parses URL for path
292292
// parameters and load them into context.
293293
//
294294
// For performance:

0 commit comments

Comments
 (0)