commit | 8a45e95fc75cb77048068a62daed98cc22fdac7c | [log] [tgz] |
---|---|---|
author | Julien Schmidt <git@julienschmidt.com> | Thu Jan 05 02:58:16 2017 +0800 |
committer | Julien Schmidt <git@julienschmidt.com> | Thu Jan 05 02:58:16 2017 +0800 |
tree | 62101f93d9cab4bce4a16b6aeba38908e5e67734 | |
parent | 5dd70ee059943e81987a817fa1a755b11dd119c1 [diff] |
Fix typo Fixes #171
diff --git a/router_test.go b/router_test.go index 88895a3..fe58c8a 100644 --- a/router_test.go +++ b/router_test.go
@@ -68,11 +68,11 @@ } type handlerStruct struct { - handeled *bool + handled *bool } func (h handlerStruct) ServeHTTP(w http.ResponseWriter, r *http.Request) { - *h.handeled = true + *h.handled = true } func TestRouterAPI(t *testing.T) {