commit | 36bc8edd50a52074d59a3cdfe08c38b4cbbdd68d | [log] [tgz] |
---|---|---|
author | Philipp Franke <dev@philippfranke.com> | Sat Mar 21 13:37:01 2015 +0100 |
committer | Philipp Franke <dev@philippfranke.com> | Sat Mar 21 13:39:10 2015 +0100 |
tree | 5f7055f06552489066aef333daf74c8bad9c9d64 | |
parent | a06479bbfade5f796b8d45d13c24fa3e588eb0f5 [diff] |
Options test: Fix wrong variable name
diff --git a/router_test.go b/router_test.go index 835caf0..9dc6296 100644 --- a/router_test.go +++ b/router_test.go
@@ -123,7 +123,7 @@ r, _ = http.NewRequest("OPTIONS", "/GET", nil) router.ServeHTTP(w, r) - if !head { + if !options { t.Error("routing OPTIONS failed") }