golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_patch.test (about) 1 mod=example.com/basic 2 base=v0.1.0 3 success=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 9 Cannot suggest a release version. 10 Can only suggest a release version when compared against the most recent version of this major: v0.1.2. 11 -- go.mod -- 12 module example.com/basic 13 14 go 1.12 15 -- a/a.go -- 16 package a 17 18 func A() int { return 1 } 19 func A2() int { return 2 } 20 -- b/b.go -- 21 package b 22 23 func B() int { return 3 }