"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/testdata/script/mod_query.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_query.txt  (go1.16.4.src):mod_query.txt  (go1.16.5.src)
env GO111MODULE=on env GO111MODULE=on
# Populate go.sum.
# TODO(golang.org/issue/41297): we shouldn't need go.sum. None of the commands # TODO(golang.org/issue/41297): we shouldn't need go.sum. None of the commands
# below depend on the build list. # below depend on the build list.
go mod download
go list -m -versions rsc.io/quote go list -m -versions rsc.io/quote
stdout '^rsc.io/quote v1.0.0 v1.1.0 v1.2.0 v1.2.1 v1.3.0 v1.4.0 v1.5.0 v1.5.1 v1 .5.2 v1.5.3-pre1$' stdout '^rsc.io/quote v1.0.0 v1.1.0 v1.2.0 v1.2.1 v1.3.0 v1.4.0 v1.5.0 v1.5.1 v1 .5.2 v1.5.3-pre1$'
# Latest rsc.io/quote should be v1.5.2, not v1.5.3-pre1. # Latest rsc.io/quote should be v1.5.2, not v1.5.3-pre1.
go list -m rsc.io/quote@latest go list -m rsc.io/quote@latest
stdout 'rsc.io/quote v1.5.2$' stdout 'rsc.io/quote v1.5.2$'
# Same for rsc.io/quote@v1 and rsc.io/quote@v1.5 (with no patch version). # Same for rsc.io/quote@v1 and rsc.io/quote@v1.5 (with no patch version).
go list -m rsc.io/quote@v1 go list -m rsc.io/quote@v1
skipping to change at line 39 skipping to change at line 37
! go list -m rsc.io/quote@>v1.5.3 ! go list -m rsc.io/quote@>v1.5.3
stderr 'go list -m: module rsc.io/quote: no matching versions for query ">v1.5.3 "' stderr 'go list -m: module rsc.io/quote: no matching versions for query ">v1.5.3 "'
go list -m -e -f '{{.Error.Err}}' rsc.io/quote@>v1.5.3 go list -m -e -f '{{.Error.Err}}' rsc.io/quote@>v1.5.3
stdout 'no matching versions for query ">v1.5.3"' stdout 'no matching versions for query ">v1.5.3"'
-- go.mod -- -- go.mod --
module x module x
require rsc.io/quote v1.0.0 require rsc.io/quote v1.0.0
-- go.sum --
rsc.io/quote v1.0.0 h1:kQ3IZQzPTiDJxSZI98YaWgxFEhlNdYASHvh+MplbViw=
rsc.io/quote v1.0.0/go.mod h1:v83Ri/njykPcgJltBc/gEkJTmjTsNgtO1Y7vyIK1CQA=
-- use.go -- -- use.go --
package use package use
import _ "rsc.io/quote" import _ "rsc.io/quote"
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

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