cmd/gorelease/testdata/tidy/missing_req_nested.test
raw| 1 | mod=example.com/tidy |
| 2 | base=v0.0.1 |
| 3 | success=false |
| 4 | -- want -- |
| 5 | # example.com/tidy/subdir |
| 6 | ## compatible changes |
| 7 | package added |
| 8 | |
| 9 | # diagnostics |
| 10 | go.mod: the following requirements are needed |
| 11 | example.com/[email protected] |
| 12 | Run 'go mod tidy' to add missing requirements. |
| 13 | |
| 14 | # summary |
| 15 | Suggested version: v0.1.0 |
| 16 | -- go.mod -- |
| 17 | module example.com/tidy |
| 18 | |
| 19 | go 1.12 |
| 20 | -- tidy.go -- |
| 21 | package tidy |
| 22 | -- subdir/tidy.go -- |
| 23 | package subpkg |
| 24 | |
| 25 | import _ "example.com/basic/a" |