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/cgi/cgi_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib/cgi/cgi_test.go') diff --git a/contrib/cgi/cgi_test.go b/contrib/cgi/cgi_test.go index 5c1ca33..ff2c45d 100644 --- a/contrib/cgi/cgi_test.go +++ b/contrib/cgi/cgi_test.go @@ -12,9 +12,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/contrib/cgi" - "tildegit.org/tjp/gus/gemini" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/contrib/cgi" + "tildegit.org/tjp/sliderule/gemini" ) func TestCGIDirectory(t *testing.T) { @@ -30,7 +30,7 @@ func TestCGIDirectory(t *testing.T) { tests := []struct { requestPath string - responseCode gus.Status + responseCode sr.Status responseBody string }{ { @@ -69,7 +69,7 @@ func TestCGIDirectory(t *testing.T) { code, err := strconv.Atoi(string(response[:2])) if assert.Nil(t, err) { - assert.Equal(t, test.responseCode, gus.Status(code)) + assert.Equal(t, test.responseCode, sr.Status(code)) } _, body, found := strings.Cut(string(response), "\r\n") -- cgit v1.2.3