...
1mod=example.com/basic
2base=v0.1.0
3success=false
4# A() was changed in a small way, so now it should suggest a new patch version.
5# But, there's a later version that already exists: so it should not try to
6# suggest anything at all.
7-- want --
8# summary
9Cannot suggest a release version.
10Can only suggest a release version when compared against the most recent version of this major: v0.1.2.
11-- go.mod --
12module example.com/basic
13
14go 1.12
15-- a/a.go --
16package a
17
18func A() int { return 1 }
19func A2() int { return 2 }
20-- b/b.go --
21package b
22
23func B() int { return 3 }
View as plain text