| mod=example.com/patherrors | |
| base=none | |
| dir=x | |
| success=false | |
| vcs=git | |
| -- want -- | |
| # diagnostics | |
| example.com/y/v2: module path must end with "x" or "x/v2", since it is in subdirectory "x" | |
| # summary | |
| Suggested version: v2.0.0 | |
| -- .mod -- | |
| module example.com/patherrors | |
| -- x/go.mod -- | |
| module example.com/y/v2 | |
| go 1.12 |