]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modfetch: update TestCodeRepo for gopkg.in/yaml.v2
authorAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 21 Mar 2019 17:22:58 +0000 (18:22 +0100)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 21 Mar 2019 19:19:34 +0000 (19:19 +0000)
New release, it broke again the longtest builder. Align the expected
data with the current release.

Making these tests independent of external repositories is #28856.

This fixes the longtest builder.

Updates #28856

Change-Id: I32d2f3325af828d26ab417a5e986e3aeefa1a897
Reviewed-on: https://go-review.googlesource.com/c/go/+/168561
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/modfetch/coderepo_test.go

index 2c756c50f242e0dc767867bca93689275d2ad809..078362700f65a6ce720b89cd472b18a75da4108e 100644 (file)
@@ -286,10 +286,10 @@ var codeRepoTests = []struct {
        {
                path:    "gopkg.in/yaml.v2",
                rev:     "v2",
-               version: "v2.2.2",
-               name:    "51d6538a90f86fe93ac480b35f37b2be17fef232",
-               short:   "51d6538a90f8",
-               time:    time.Date(2018, 11, 15, 11, 05, 04, 0, time.UTC),
+               version: "v2.2.3-0.20190319135612-7b8349ac747c",
+               name:    "7b8349ac747c6a24702b762d2c4fd9266cf4f1d6",
+               short:   "7b8349ac747c",
+               time:    time.Date(2019, 03, 19, 13, 56, 12, 0, time.UTC),
                gomod:   "module \"gopkg.in/yaml.v2\"\n\nrequire (\n\t\"gopkg.in/check.v1\" v0.0.0-20161208181325-20d25e280405\n)\n",
        },
        {