You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cmd/go/testdata/script/mod_invalid_version.txt
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ cd outside
50
50
stderr 'go: [email protected] \(replaced by \./\.\.\): parsing ..[/\\]go.mod: '$WORK'[/\\]gopath[/\\]src[/\\]go.mod:5: require golang.org/x/text: version "v2.1.1-0.20170915032832-14c0d48ead0c" invalid: should be v0 or v1, not v2'
51
51
cd ..
52
52
! go list -m golang.org/x/text
53
-
stderr $WORK'[/\\]gopath[/\\]src[/\\]go.mod:5: require golang.org/x/text: version "v2.1.1-0.20170915032832-14c0d48ead0c" invalid: should be v0 or v1, not v2'
53
+
stderr '^go.mod:5: require golang.org/x/text: version "v2.1.1-0.20170915032832-14c0d48ead0c" invalid: should be v0 or v1, not v2'
54
54
55
55
# A pseudo-version with fewer than 12 digits of SHA-1 prefix is invalid.
0 commit comments