Align testItems with what getEnvVars does

This commit is contained in:
Michael B. Gale
2026-02-02 16:17:22 +00:00
parent cbbc057dd3
commit d079671ec8

View File

@@ -88,7 +88,7 @@ func Test_EmitPrivateRegistryUsed_Single(t *testing.T) {
writer := newMemoryDiagnosticsWriter()
testItems := []string{
"* https://github.com/github/example (Git Source)",
"https://github.com/github/example (Git Source)",
}
EmitPrivateRegistryUsed(writer, testItems)
@@ -109,8 +109,8 @@ func Test_EmitPrivateRegistryUsed_Multiple(t *testing.T) {
writer := newMemoryDiagnosticsWriter()
testItems := []string{
"* https://github.com/github/example (Git Source)",
"* https://example.com/goproxy (GOPROXY Server)",
"https://github.com/github/example (Git Source)",
"https://example.com/goproxy (GOPROXY Server)",
}
EmitPrivateRegistryUsed(writer, testItems)