Browse Source

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

pull/41/head
Philip Schlump 12 years ago
parent
commit
ab8ae247f1
  1. 4
      mux_test.go

4
mux_test.go

@ -419,8 +419,8 @@ func TestQueries(t *testing.T) { @@ -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