diff options
Diffstat (limited to 'dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test')
-rw-r--r-- | dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test new file mode 100644 index 0000000..bea8be6 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test @@ -0,0 +1,24 @@ +mod=example.com/basic +base=v1.0.1 +success=false +# A() was removed, which is a breaking change: it shouldn't try to suggest a +# higher version. +-- want -- +# example.com/basic/a +## incompatible changes +A: removed +## compatible changes +B: added + +# summary +Cannot suggest a release version. +Incompatible changes were detected. +-- go.mod -- +module example.com/basic + +go 1.12 +-- a/a.go -- +package a + +func B() int { return 0 } + |