"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/testdata/script/mod_retract.txt" between
go1.16.4.src.tar.gz and go1.16.5.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language. Latest stable release (1.16).

mod_retract.txt  (go1.16.4.src):mod_retract.txt  (go1.16.5.src)
cp go.mod go.mod.orig cp go.mod go.mod.orig
# Populate go.sum.
go mod download
# 'go list pkg' does not report an error when a retracted version is used. # 'go list pkg' does not report an error when a retracted version is used.
go list -e -f '{{if .Error}}{{.Error}}{{end}}' ./use go list -e -f '{{if .Error}}{{.Error}}{{end}}' ./use
! stdout . ! stdout .
cmp go.mod go.mod.orig cmp go.mod go.mod.orig
# Nor does 'go build'. # Nor does 'go build'.
[!short] go build ./use [!short] go build ./use
[!short] ! stderr . [!short] ! stderr .
[!short] cmp go.mod go.mod.orig [!short] cmp go.mod go.mod.orig
skipping to change at line 35 skipping to change at line 32
stdout '^example.com/retract/self/prev v1.1.0$' stdout '^example.com/retract/self/prev v1.1.0$'
exists $GOPATH/pkg/mod/cache/download/example.com/retract/self/prev/@v/v1.9.0.mo d exists $GOPATH/pkg/mod/cache/download/example.com/retract/self/prev/@v/v1.9.0.mo d
-- go.mod -- -- go.mod --
module example.com/use module example.com/use
go 1.15 go 1.15
require example.com/retract v1.0.0-bad require example.com/retract v1.0.0-bad
-- go.sum --
example.com/retract v1.0.0-bad h1:liAW69rbtjY67x2CcNzat668L/w+YGgNX3lhJsWIJis=
example.com/retract v1.0.0-bad/go.mod h1:0DvGGofJ9hr1q63cBrOY/jSY52OwhRGA0K47NE8
0I5Y=
example.com/retract/self/prev v1.1.0 h1:0/8I/GTG+1eJTFeDQ/fUbgrMsVHHyKhh3Z8DSZp1
fuA=
example.com/retract/self/prev v1.1.0/go.mod h1:xl2EcklWuZZHVtHWcpzfSJQmnzAGpKZYp
A/Wto7SZN4=
-- use/use.go -- -- use/use.go --
package use package use
import _ "example.com/retract" import _ "example.com/retract"
-- use_self_prev/use.go -- -- use_self_prev/use.go --
package use_self_prev package use_self_prev
import _ "example.com/retract/self/prev" import _ "example.com/retract/self/prev"
 End of changes. 2 change blocks. 
3 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)