Browse Source

Fixed the domain name copied from my other code to be example.com

Philip Schlump 12 years ago
parent
commit
ab8ae247f1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mux_test.go

+ 2
- 2
mux_test.go View File

@ -419,8 +419,8 @@ func TestQueries(t *testing.T) {
},
{
title: "Queries route, match with a query string",
route: new(Route).Host("www.2cwhy.com").Path("/api").Queries("foo", "bar", "baz", "ding"),
request: newRequest("GET", "http://www.2cwhy.com/api?foo=bar&baz=ding"),
route: new(Route).Host("www.example.com").Path("/api").Queries("foo", "bar", "baz", "ding"),
request: newRequest("GET", "http://www.example.com/api?foo=bar&baz=ding"),
vars: map[string]string{},
host: "",
path: "",


Loading…
Cancel
Save