From 9a2da81b11ad0064cca24ce7974827d032309369 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Mon, 1 May 2023 07:56:25 -0600 Subject: name change gus -> sliderule --- contrib/sharedhost/replacement_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib/sharedhost/replacement_test.go') diff --git a/contrib/sharedhost/replacement_test.go b/contrib/sharedhost/replacement_test.go index 67c3754..9fa9161 100644 --- a/contrib/sharedhost/replacement_test.go +++ b/contrib/sharedhost/replacement_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/contrib/sharedhost" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/contrib/sharedhost" ) func TestReplaceTilde(t *testing.T) { @@ -42,10 +42,10 @@ func TestReplaceTilde(t *testing.T) { originalPath := u.Path replacer := sharedhost.ReplaceTilde(test.replacement) - request := &gus.Request{URL: u} - handler := replacer(gus.HandlerFunc(func(_ context.Context, request *gus.Request) *gus.Response { + request := &sr.Request{URL: u} + handler := replacer(sr.HandlerFunc(func(_ context.Context, request *sr.Request) *sr.Response { assert.Equal(t, test.replacedPath, request.Path) - return &gus.Response{} + return &sr.Response{} })) handler.Handle(context.Background(), request) -- cgit v1.2.3