Skip to content

Commit ccbc40f

Browse files
n
Change-Id: Iaf243cef55c62d3da18b2813778459ab85c89a06
1 parent 4341b78 commit ccbc40f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cmd/go/testdata/script/env_changed.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ go env -changed -json GOARCH
4444
[GOARCH:amd64] stdout '"GOARCH": "arm64"'
4545
[!GOARCH:amd64] stdout '"GOARCH": "amd64"'
4646

47-
# flipped GOOS, and now flip it backwards.
48-
[GOARCH:arm64] env GOARCH=amd64
49-
[!GOARCH:arm64] env GOARCH=arm64
50-
[!GOARCH:amd64] skip
47+
env GOARCH=amd64
5148
env GOAMD64=v3
5249
go env -changed
5350
stdout 'GOAMD64=''?v3''?'

0 commit comments

Comments
 (0)