...

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

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

     1mod=example.com/basic
     2base=v0.0.1
     3success=false
     4# B() was added, so now it should suggest a new minor version. But, there's a
     5# later version that already exists: so it should not try to suggest anything at
     6# all.
     7-- want --
     8# example.com/basic/a
     9## compatible changes
    10B: added
    11
    12# summary
    13Cannot suggest a release version.
    14Can only suggest a release version when compared against the most recent version of this major: v0.1.2.
    15-- go.mod --
    16module example.com/basic
    17
    18go 1.12
    19-- a/a.go --
    20package a
    21
    22func A() int { return 0 }
    23func B() int { return 0 }

View as plain text