cmd/gorelease/testdata/fix/incompatible_same_suggest.test
raw| 1 | mod=example.com/fix |
| 2 | base=v1.0.0 |
| 3 | version=v1.1.0-incompatible-same |
| 4 | success=false |
| 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 | Cannot suggest a release version. |
| 16 | Errors were found. |