...

Text file src/golang.org/x/exp/cmd/gorelease/testdata/alreadyexists/alreadyexists_verify.test

Documentation: golang.org/x/exp/cmd/gorelease/testdata/alreadyexists

     1mod=example.com/basic
     2base=v0.0.1
     3release=v0.1.0
     4success=false
     5# The contents below are a copy of the v0.0.1 contents - nothing has changed.
     6# But v0.1.0 already exists, so it should present a diagnostic.
     7-- want --
     8# summary
     9v0.1.0 is not a valid semantic version for this release.
    10version v0.1.0 already exists
    11-- go.mod --
    12module example.com/basic
    13
    14go 1.12
    15-- a/a.go --
    16package a
    17
    18func A() int { return 0 }

View as plain text