summaryrefslogtreecommitdiff
path: root/internal/utils/strings_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/utils/strings_test.go')
-rw-r--r--internal/utils/strings_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/utils/strings_test.go b/internal/utils/strings_test.go
index fe7c6742e..c12978739 100644
--- a/internal/utils/strings_test.go
+++ b/internal/utils/strings_test.go
@@ -242,7 +242,7 @@ func TestOriginFromURL(t *testing.T) {
google, err := url.Parse("https://google.com/abc?a=123#five")
assert.NoError(t, err)
- origin := OriginFromURL(*google)
+ origin := OriginFromURL(google)
assert.Equal(t, "https://google.com", origin.String())
}