router: PathPrefix router was wrong. (#3172)

This commit is contained in:
Harshavardhana
2016-11-04 12:13:22 -07:00
committed by GitHub
parent d9bab6b3bd
commit d192044915
5 changed files with 7 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ func TestServerMux(t *testing.T) {
}))
// Set the test server config to the mux
ts.Config = &m.Server
ts.Config = m.Server
ts.Start()
// Create a ListenerMux
@@ -171,7 +171,7 @@ func TestServerCloseBlocking(t *testing.T) {
}))
// Set the test server config to the mux
ts.Config = &m.Server
ts.Config = m.Server
ts.Start()
// Create a ListenerMux.