Skip to content

Commit 999ba04

Browse files
committed
Merge pull request #69 from philippfranke/master
OPTIONS test: Fix wrong variable name
2 parents a06479b + 36bc8ed commit 999ba04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func TestRouterAPI(t *testing.T) {
123123

124124
r, _ = http.NewRequest("OPTIONS", "/GET", nil)
125125
router.ServeHTTP(w, r)
126-
if !head {
126+
if !options {
127127
t.Error("routing OPTIONS failed")
128128
}
129129

0 commit comments

Comments
 (0)