golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/cmd/gorelease/testdata/tidy/misleading_req.test (about) 1 mod=example.com/tidy 2 base=none 3 success=false 4 -- go.mod -- 5 module example.com/tidy 6 7 go 1.12 8 9 require ( 10 example.com/tidy/a v0.1.0 // actually transitively requires v0.2.0 11 example.com/tidy/b v0.1.0 12 ) 13 -- go.sum -- 14 example.com/tidy/a v0.1.0 h1:hxFAdyLfJ6TV25ffYI2oA+g3ffLp+XJgo6lrVkT8ufU= 15 example.com/tidy/a v0.1.0/go.mod h1:/KTGkbP1cnyJLO5kGL/QSCswh5I8R66epCmEAxgAK+I= 16 example.com/tidy/b v0.1.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw= 17 example.com/tidy/b v0.2.0 h1:dSh97fZcMRg87GDb1Gqwy8/mebsrmE4kX3S7d+KeSZU= 18 example.com/tidy/b v0.2.0/go.mod h1:92saqyRYqaI4eqrr6LGMnPfBDXc2yofWznwSxsvqfEw= 19 -- tidy.go -- 20 package tidy 21 22 import _ "example.com/tidy/a" 23 import _ "example.com/tidy/b" 24 -- want -- 25 # diagnostics 26 go.mod: the following requirements are needed 27 example.com/tidy/b@v0.2.0 28 Run 'go mod tidy' to add missing requirements. 29 30 # summary 31 Suggested version: v0.1.0