File: alreadyexists_suggest_major.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 (24 lines) | stat: -rw-r--r-- 421 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
24
mod=example.com/basic
base=v1.0.1
success=false
# A() was removed, which is a breaking change: it shouldn't try to suggest a
# higher version.
-- want --
# example.com/basic/a
## incompatible changes
A: removed
## compatible changes
B: added

# summary
Cannot suggest a release version.
Incompatible changes were detected.
-- go.mod --
module example.com/basic

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

func B() int { return 0 }