summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/alreadyexists/alreadyexists_verify.test
blob: 8ba7cfcb05b6480216b74df4dfa0d756300b0755 (plain)
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 }