]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modfetch: update TestCodeRepo for gopkg.in/yaml.v2
authorAndrew Bonventre <andybons@golang.org>
Tue, 1 Oct 2019 01:41:01 +0000 (21:41 -0400)
committerAndrew Bonventre <andybons@golang.org>
Tue, 1 Oct 2019 02:07:28 +0000 (02:07 +0000)
The new yaml.v2 release broke the longtest builder. Update the expected
data.

Updates #28856

Change-Id: I98ec9e32e55bdb6b26b67e46dc16f34f77c2d40f
Reviewed-on: https://go-review.googlesource.com/c/go/+/198117
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/go/internal/modfetch/coderepo_test.go

index 1f2b95bd2384efe6008000c0925c8e28bed4d1ba..4977814c5fe35b1c0a7346866c95760fd3d48e18 100644 (file)
@@ -338,10 +338,10 @@ var codeRepoTests = []codeRepoTest{
                vcs:     "git",
                path:    "gopkg.in/yaml.v2",
                rev:     "v2",
-               version: "v2.2.3-0.20190319135612-7b8349ac747c",
-               name:    "7b8349ac747c6a24702b762d2c4fd9266cf4f1d6",
-               short:   "7b8349ac747c",
-               time:    time.Date(2019, 03, 19, 13, 56, 12, 0, time.UTC),
+               version: "v2.2.3",
+               name:    "bb4e33bf68bf89cad44d386192cbed201f35b241",
+               short:   "bb4e33bf68bf",
+               time:    time.Date(2019, 9, 30, 19, 9, 21, 0, time.UTC),
                gomod:   "module \"gopkg.in/yaml.v2\"\n\nrequire (\n\t\"gopkg.in/check.v1\" v0.0.0-20161208181325-20d25e280405\n)\n",
        },
        {