-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And fix up the tests and code to adapt accordingly. While here, update the checkout action as well.
- Loading branch information
Showing
6 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# With no .gomodproxy supporting files, we use the GOPROXY from | ||
# the environment. | ||
# Note that Go 1.21 started quoting with single quotes in "go env", | ||
# where older versions used double quotes. | ||
env GOPROXY=0.1.2.3 | ||
unquote file.txt | ||
testscript -v file.txt | ||
|
||
-- file.txt -- | ||
>go env | ||
>[!windows] stdout '^GOPROXY="0.1.2.3"$' | ||
>[!windows] stdout '^GOPROXY=[''"]0.1.2.3[''"]$' | ||
>[windows] stdout '^set GOPROXY=0.1.2.3$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/rogpeppe/go-internal | ||
|
||
go 1.19 | ||
go 1.20 | ||
|
||
require ( | ||
golang.org/x/mod v0.9.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters