vendor/cmd/go/internal/modfetch: update gopkg.in requirements in TestConvertLegacyConfig

Support for major-version parsing for gopkg.in dependencies was
improved in CL 107658, but TestConvertLegacyConfig was apparently not
updated to reflect that.

Updates golang/go#25501.

Before:

--- FAIL: TestConvertLegacyConfig (32.51s)
    --- FAIL: TestConvertLegacyConfig/github.com_docker_distribution_v0.0.0-20150410205453-85de3967aa93 (0.00s)
        convert_test.go:102: golden:23: invalid module: gopkg.in/yaml.v2 should be v2, not v0 (v0.0.0-20150116202057-bef53efd0c76)

After:

--- PASS: TestConvertLegacyConfig (40.00s)
    --- PASS: TestConvertLegacyConfig/github.com_docker_distribution_v0.0.0-20150410205453-85de3967aa93 (40.00s)

Change-Id: Ied0121e78b43355f6349684f1e1836da9e587374
Reviewed-on: https://go-review.googlesource.com/117115
Reviewed-by: Russ Cox <rsc@golang.org>
1 file changed
tree: 63aae606439cf18f7b8984380085731806b6ab9d
  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.