TestCloneArgsSmartHttp: fix unhandled error

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-16 22:21:46 +02:00
parent b05aa464a6
commit 64f33cd463
@@ -124,7 +124,8 @@ func TestParseRemoteURL(t *testing.T) {
func TestCloneArgsSmartHttp(t *testing.T) {
mux := http.NewServeMux()
server := httptest.NewServer(mux)
serverURL, _ := url.Parse(server.URL)
serverURL, err := url.Parse(server.URL)
assert.NilError(t, err)
serverURL.Path = "/repo.git"