diff --git a/testserver.go b/testserver.go index 3b78f92..a165ef9 100644 --- a/testserver.go +++ b/testserver.go @@ -13,6 +13,7 @@ func StartTestServer() *http.Server { Test Page + Go to Page 2
@@ -64,6 +65,20 @@ func StartTestServer() *http.Server { `)) }) + + mux.HandleFunc("/page2", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte(` + + + Page 2 + + Go to Page 1 +

This is Page 2

+ + + `)) + }) + server := &http.Server{Addr: ":8080", Handler: mux} go server.ListenAndServe() return server