diff options
Diffstat (limited to 'contrib/cgi/cgi_test.go')
-rw-r--r-- | contrib/cgi/cgi_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
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") |