golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/cmd/gorelease/testdata/alreadyexists/alreadyexists_suggest_major.test (about)

     1  mod=example.com/basic
     2  base=v1.0.1
     3  success=false
     4  # A() was removed, which is a breaking change: it shouldn't try to suggest a
     5  # higher version.
     6  -- want --
     7  # example.com/basic/a
     8  ## incompatible changes
     9  A: removed
    10  ## compatible changes
    11  B: added
    12  
    13  # summary
    14  Cannot suggest a release version.
    15  Incompatible changes were detected.
    16  -- go.mod --
    17  module example.com/basic
    18  
    19  go 1.12
    20  -- a/a.go --
    21  package a
    22  
    23  func B() int { return 0 }
    24