summaryrefslogtreecommitdiff
path: root/pkg/test
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-30 12:57:05 -0600
committermo khan <mo@mokhan.ca>2025-04-30 12:57:05 -0600
commit513ed03b62565ac1bcd3a83ffa6aa47c5d5b7bc9 (patch)
tree383840812a0b2de65fb300e0718e3feaa37b3630 /pkg/test
parent86830bbc2f382ff837b1068bd097d5e97c9ec2aa (diff)
refactor: delegate to x package
Diffstat (limited to 'pkg/test')
-rw-r--r--pkg/test/http.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/test/http.go b/pkg/test/http.go
index 6c15016..b65ccc9 100644
--- a/pkg/test/http.go
+++ b/pkg/test/http.go
@@ -10,10 +10,9 @@ import (
xcontext "github.com/xlgmokha/x/pkg/context"
"github.com/xlgmokha/x/pkg/serde"
"github.com/xlgmokha/x/pkg/x"
- "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/pls"
)
-type RequestOption pls.Option[*http.Request]
+type RequestOption x.Option[*http.Request]
func Request(method, target string, options ...RequestOption) *http.Request {
request := httptest.NewRequest(method, target, nil)