diff --git a/git/git_test.go b/git/git_test.go index 515e2d30479d2de029a2837f0938c40402e90d2c..83bde7b7e19a09db274527f405c10ddd9a28a21d 100644 --- a/git/git_test.go +++ b/git/git_test.go @@ -2,7 +2,10 @@ // // SPDX-License-Identifier: Apache-2.0 -package git +// Using package git instead of git_test to test unexported stringifyRepo function. +// This function contains complex URL parsing logic that warrants direct testing, +// and testing through the (current) public API would require external network requests. +package git //nolint:testpackage import ( "testing"