From 580830be76ba7cff318f4239c3ed0c250da21583 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 31 May 2021 14:53:53 +0200 Subject: [PATCH] went a bit too far with search+replace --- muxrpc/test/nodejs/setup_test.go | 2 +- muxrpc/test/nodejs/tunnel_connect_test.go | 2 +- web/handlers/invites_test.go | 2 +- web/utils.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/muxrpc/test/nodejs/setup_test.go b/muxrpc/test/nodejs/setup_test.go index 373de0a..a608461 100644 --- a/muxrpc/test/nodejs/setup_test.go +++ b/muxrpc/test/nodejs/setup_test.go @@ -141,7 +141,7 @@ func (ts *testSession) startGoServer( ts.done.Go(func() error { err := srv.Network.Serve(ts.ctx) // if the muxrpc protocol fucks up by e.g. unpacking body data into a header, this type of error will be surfaced here and look scary in the test output - // example: https://github.com/ssb-ngi-pointer/go-ssb-room/v2/pull/85#issuecomment-801106687 + // example: https://github.com/ssb-ngi-pointer/go-ssb-room/pull/85#issuecomment-801106687 if err != nil && !errors.Is(err, context.Canceled) { err = fmt.Errorf("go server exited: %w", err) ts.t.Log(err) diff --git a/muxrpc/test/nodejs/tunnel_connect_test.go b/muxrpc/test/nodejs/tunnel_connect_test.go index 32bdaf9..db6f52b 100644 --- a/muxrpc/test/nodejs/tunnel_connect_test.go +++ b/muxrpc/test/nodejs/tunnel_connect_test.go @@ -134,7 +134,7 @@ func TestModernJSClient(t *testing.T) { } // found a nasty `throw err` in the JS stack around pull.drain. lets make sure it stays gone -// https://github.com/ssb-ngi-pointer/go-ssb-room/v2/issues/190 +// https://github.com/ssb-ngi-pointer/go-ssb-room/issues/190 func TestClientSurvivesShutdown(t *testing.T) { r := require.New(t) diff --git a/web/handlers/invites_test.go b/web/handlers/invites_test.go index 89e18cc..743e8e3 100644 --- a/web/handlers/invites_test.go +++ b/web/handlers/invites_test.go @@ -34,7 +34,7 @@ func TestInviteShowAcceptForm(t *testing.T) { // request the form doc, resp := ts.Client.GetHTML(acceptURL404) - // 500 until https://github.com/ssb-ngi-pointer/go-ssb-room/v2/issues/66 is fixed + // 500 until https://github.com/ssb-ngi-pointer/go-ssb-room/issues/66 is fixed a.Equal(http.StatusInternalServerError, resp.Code) // check database calls diff --git a/web/utils.go b/web/utils.go index 6a72144..ffa05b2 100644 --- a/web/utils.go +++ b/web/utils.go @@ -48,8 +48,8 @@ func NewURLTo(appRouter *mux.Router, netInfo network.ServerEndpointDetails) URLM return func(routeName string, ps ...interface{}) *url.URL { route := appRouter.Get(routeName) if route == nil { - // TODO: https://github.com/ssb-ngi-pointer/go-ssb-room/v2/issues/35 for a - // for reference, see https://github.com/ssb-ngi-pointer/go-ssb-room/v2/pull/64 + // TODO: https://github.com/ssb-ngi-pointer/go-ssb-room/issues/35 for a + // for reference, see https://github.com/ssb-ngi-pointer/go-ssb-room/pull/64 // level.Warn(l).Log("msg", "no such route", "route", routeName, "params", fmt.Sprintf("%v", ps)) return &url.URL{} }