Skip to content

Commit

Permalink
fix TestNoProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
xorpaul committed Jan 25, 2024
1 parent 8b67966 commit fca2e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g10k_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3254,7 +3254,7 @@ func TestNoProxy(t *testing.T) {
// fmt.Println(string(out))

expectedLines := []string{
"found matching NO_PROXY URL, trying to disable http_proxy for git clone --mirror https://localgit.domain.tld/foo/bar.git /tmp/g10k/modules/https-__localgit.domain.tld_foo_bar.git",
"found matching NO_PROXY URL, trying to disable http_proxy and https_proxy env variables for git clone --mirror https://localgit.domain.tld/foo/bar.git /tmp/g10k/modules/https-__localgit.domain.tld_foo_bar.git",
}
for _, expectedLine := range expectedLines {
if !strings.Contains(string(out), expectedLine) {
Expand Down

0 comments on commit fca2e30

Please sign in to comment.