Skip to content
Permalink
Browse files
fix headers regexp test (#536)
  • Loading branch information
icattlecoder authored and elithrar committed Nov 19, 2019
1 parent 2854a05 commit 4de8a5a4d283677c69afa1a86a044c8451633a18
Showing 1 changed file with 2 additions and 2 deletions.
@@ -684,8 +684,8 @@ func TestHeaders(t *testing.T) {
},
{
title: "Headers route, regex header values to match",
route: new(Route).Headers("foo", "ba[zr]"),
request: newRequestHeaders("GET", "http://localhost", map[string]string{"foo": "bar"}),
route: new(Route).HeadersRegexp("foo", "ba[zr]"),
request: newRequestHeaders("GET", "http://localhost", map[string]string{"foo": "baw"}),
vars: map[string]string{},
host: "",
path: "",

0 comments on commit 4de8a5a

Please sign in to comment.