Skip to content

Commit 36bc8ed

Browse files
committed
Options test: Fix wrong variable name
1 parent a06479b commit 36bc8ed

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)