commit | 999ba04938b528fb4fb859231ee929958b8db4a6 | [log] [tgz] |
---|---|---|
author | Julien Schmidt <julienschmidt@users.noreply.github.com> | Sat Mar 21 22:36:51 2015 +0800 |
committer | Julien Schmidt <julienschmidt@users.noreply.github.com> | Sat Mar 21 22:36:51 2015 +0800 |
tree | 5f7055f06552489066aef333daf74c8bad9c9d64 | |
parent | a06479bbfade5f796b8d45d13c24fa3e588eb0f5 [diff] | |
parent | 36bc8edd50a52074d59a3cdfe08c38b4cbbdd68d [diff] |
Merge pull request #69 from philippfranke/master 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") }