Files
coder/testutil/url.go
Cian Johnston 5baaf2747d feat(cli): implement exp task status command (#19533)
Closes https://github.com/coder/internal/issues/900

- Implements `coder exp task status`
- Adds `testutil.MustURL` helper
2025-08-26 16:01:35 +01:00

15 lines
175 B
Go

package testutil
import (
"net/url"
"testing"
)
func MustURL(t testing.TB, raw string) *url.URL {
u, err := url.Parse(raw)
if err != nil {
t.Fatal(err)
}
return u
}