cmd/go/internal/modfetch: update expected errors in TestCodeRepo

Updates golang/go#25501.

Before:

--- FAIL: TestCodeRepo (20.13s)
    --- FAIL: TestCodeRepo/github.com_rsc_vgotest1_v2/v2.0.0 (0.47s)
        coderepo_test.go:424: repo.Zip("v2.0.0"): missing or invalid go.mod, want error "missing go.mod"
    --- FAIL: TestCodeRepo/github.com_rsc_vgotest1_v2/80d85 (0.34s)
        coderepo_test.go:409: repo.GoMod("v2.0.0-20180219231006-80d85c5d4d17"): missing or invalid go.mod, want "missing go.mod"
        coderepo_test.go:424: repo.Zip("v2.0.0-20180219231006-80d85c5d4d17"): missing or invalid go.mod, want error "missing go.mod"
    --- FAIL: TestCodeRepo/github.com_rsc_vgotest1_v54321/80d85 (0.28s)
        coderepo_test.go:424: repo.Zip("v54321.0.0-20180219231006-80d85c5d4d17"): missing or invalid go.mod, want error "missing go.mod"
vgo: lookup code.google.com/p/go-uuid/uuid: unknown module code.google.com/p/go-uuid/uuid: no go-import tags

After:

ok      golang.org/x/vgo/vendor/cmd/go/internal/modfetch        123.433s

Change-Id: I1263af1104b36b519ab9e79c74bb8c2eed05797e
Reviewed-on: https://go-review.googlesource.com/119075
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
1 file changed
tree: 943e6c5a6aa118789fd5a5aad31a16ee1627f338
  1. vendor/
  2. AUTHORS
  3. codereview.cfg
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. main.go
  8. PATENTS
  9. README.md
README.md

Versioned Go Prototype (vgo)

This repository holds a prototype of what the go command might look like with integrated support for package versioning.

See research.swtch.com/vgo for documents about the design.

Download/Install

Use go get -u golang.org/x/vgo.

You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo.

Report Issues / Send Patches

See CONTRIBUTING.md.

This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo: in the issue title.

Thank you.