summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test
blob: bea8be65c1f7f68b32ec80a2a6f5583b4720ce25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 }