Debian Codegraph @

cmd/gorelease/testdata/fix/incompatible_same_verify.test

raw
1 mod=example.com/fix
2 base=v1.0.0
3 version=v1.1.0-incompatible-same
4 release=v1.0.1 # not actually valid, but gorelease can't tell
5 -- want --
6 # example.com/fix/bad
7 ## errors in base version:
8 bad/bad.go:3:15: undefined: NOTYPE
9
10 ## incompatible changes
11 Bad: changed from func() int to func() string
12 Broken: changed from func() invalid type to func() int
13
14 # summary
15 v1.0.1 is a valid semantic version for this release.
16 Errors were found in the base version. Some API changes may be omitted.