From 0ca85133b3cb48bbbdd2f6cd4d4df11b2f4454ed Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 27 Sep 2025 17:48:08 -0600 Subject: [PATCH] chore: silence testpackage linter with explanation Co-Authored-By: Crush --- git/git_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"