File: alreadyexists_suggest_minor.test

package info (click to toggle)
golang-golang-x-exp 0.0~git20231006.7918f67-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 6,492 kB
  • sloc: ansic: 1,900; objc: 276; sh: 272; asm: 48; makefile: 27
file content (23 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
mod=example.com/basic
base=v0.0.1
success=false
# B() was added, so now it should suggest a new minor version. But, there's a
# later version that already exists: so it should not try to suggest anything at
# all.
-- want --
# example.com/basic/a
## compatible changes
B: added

# summary
Cannot suggest a release version.
Can only suggest a release version when compared against the most recent version of this major: v0.1.2.
-- go.mod --
module example.com/basic

go 1.12
-- a/a.go --
package a

func A() int { return 0 }
func B() int { return 0 }