summaryrefslogtreecommitdiff
path: root/request_test.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-05-01 07:56:25 -0600
committertjpcc <tjp@ctrl-c.club>2023-05-01 07:56:25 -0600
commit9a2da81b11ad0064cca24ce7974827d032309369 (patch)
tree4313224dc089208423e78bffc3ec50833e35bcea /request_test.go
parent21e2758145d100d74013060f7090d84679cae683 (diff)
name change gus -> sliderule
Diffstat (limited to 'request_test.go')
-rw-r--r--request_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/request_test.go b/request_test.go
index 0da744f..29d0071 100644
--- a/request_test.go
+++ b/request_test.go
@@ -1,10 +1,10 @@
-package gus_test
+package sliderule_test
import (
"net/url"
"testing"
- "tildegit.org/tjp/gus"
+ sr "tildegit.org/tjp/sliderule"
)
func TestUnescapedQuery(t *testing.T) {
@@ -15,7 +15,7 @@ func TestUnescapedQuery(t *testing.T) {
for _, test := range table {
t.Run(test, func(t *testing.T) {
u, _ := url.Parse("gemini://domain.com/path?" + url.QueryEscape(test))
- result := gus.Request{URL: u}.UnescapedQuery()
+ result := sr.Request{URL: u}.UnescapedQuery()
if result != test {
t.Errorf("expected %q, got %q", test, result)
}