diff options
Diffstat (limited to '')
-rw-r--r-- | dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_minor.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_minor.test b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_minor.test new file mode 100644 index 0000000..40eda64 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_minor.test @@ -0,0 +1,23 @@ +mod=example.com/basic +base=v0.0.1 +success=false +# B() was added, so now it should suggest a new minor version. But, there's a +# later version that already exists: so it should not try to suggest anything at +# all. +-- want -- +# example.com/basic/a +## compatible changes +B: added + +# summary +Cannot suggest a release version. +Can only suggest a release version when compared against the most recent version of this major: v0.1.2. +-- go.mod -- +module example.com/basic + +go 1.12 +-- a/a.go -- +package a + +func A() int { return 0 } +func B() int { return 0 } |