summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/tidy/misleading_req.test
blob: b4b295485f58ef19945da01eb39efa59fed2529a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
mod=example.com/tidy
base=none
success=false
-- go.mod --
module example.com/tidy

go 1.12

require (
  example.com/tidy/a v0.1.0 // actually transitively requires v0.2.0
  example.com/tidy/b v0.1.0
)
-- go.sum --
example.com/tidy/a v0.1.0 h1:hxFAdyLfJ6TV25ffYI2oA+g3ffLp+XJgo6lrVkT8ufU=
example.com/tidy/a v0.1.0/go.mod h1:/KTGkbP1cnyJLO5kGL/QSCswh5I8R66epCmEAxgAK+I=
example.com/tidy/b v0.1.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw=
example.com/tidy/b v0.2.0 h1:dSh97fZcMRg87GDb1Gqwy8/mebsrmE4kX3S7d+KeSZU=
example.com/tidy/b v0.2.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw=
-- tidy.go --
package tidy

import _ "example.com/tidy/a"
import _ "example.com/tidy/b"
-- want --
# diagnostics
go.mod: the following requirements are needed
	example.com/tidy/b@v0.2.0
Run 'go mod tidy' to add missing requirements.

# summary
Suggested version: v0.1.0