]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modfetch: update TestCodeRepo for gopkg.in/yaml.v2 v2.2.2
authorBryan C. Mills <bcmills@google.com>
Mon, 10 Dec 2018 22:06:40 +0000 (17:06 -0500)
committerBryan C. Mills <bcmills@google.com>
Mon, 10 Dec 2018 22:33:08 +0000 (22:33 +0000)
I think we ought to make these tests hermetic, but in the meantime we
should at least make them pass.

Fixes #27692
Updates #28856

Change-Id: Ia78fa60e998dea3c871f640ffa2ece67b054f866
Reviewed-on: https://go-review.googlesource.com/c/153460
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/go/internal/modfetch/coderepo_test.go

index e8bf8ed750e835a38693ec9404b504664cfec10e..c93d8dbe44284f84eef58d0a7dc35f00179c8189 100644 (file)
@@ -284,10 +284,10 @@ var codeRepoTests = []struct {
        {
                path:    "gopkg.in/yaml.v2",
                rev:     "v2",
-               version: "v2.2.1",
-               name:    "5420a8b6744d3b0345ab293f6fcba19c978f1183",
-               short:   "5420a8b6744d",
-               time:    time.Date(2018, 3, 28, 19, 50, 20, 0, time.UTC),
+               version: "v2.2.2",
+               name:    "51d6538a90f86fe93ac480b35f37b2be17fef232",
+               short:   "51d6538a90f8",
+               time:    time.Date(2018, 11, 15, 11, 05, 04, 0, time.UTC),
                gomod:   "module \"gopkg.in/yaml.v2\"\n\nrequire (\n\t\"gopkg.in/check.v1\" v0.0.0-20161208181325-20d25e280405\n)\n",
        },
        {