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 --- logging/middleware_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'logging/middleware_test.go') diff --git a/logging/middleware_test.go b/logging/middleware_test.go index 76406ef..390148e 100644 --- a/logging/middleware_test.go +++ b/logging/middleware_test.go @@ -8,17 +8,17 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/logging" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/logging" ) func TestLogRequests(t *testing.T) { logger := logRecorder{} - handler := logging.LogRequests(&logger)(gus.HandlerFunc(func(_ context.Context, _ *gus.Request) *gus.Response { - return &gus.Response{} + handler := logging.LogRequests(&logger)(sr.HandlerFunc(func(_ context.Context, _ *sr.Request) *sr.Response { + return &sr.Response{} })) - response := handler.Handle(context.Background(), &gus.Request{}) + response := handler.Handle(context.Background(), &sr.Request{}) _, err := io.ReadAll(response.Body) assert.Nil(t, err) -- cgit v1.2.3