File: alreadyexists_verify.test

package info (click to toggle)
golang-golang-x-exp 0.0~git20230522.2e198f4-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 6,404 kB
  • sloc: ansic: 1,900; objc: 276; sh: 272; asm: 48; makefile: 26
file content (18 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod=example.com/basic
base=v0.0.1
release=v0.1.0
success=false
# The contents below are a copy of the v0.0.1 contents - nothing has changed.
# But v0.1.0 already exists, so it should present a diagnostic.
-- want --
# summary
v0.1.0 is not a valid semantic version for this release.
version v0.1.0 already exists
-- go.mod --
module example.com/basic

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

func A() int { return 0 }