]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.12] cmd/go/internal/modfetch: update TestCodeRepo for gopkg.in...
authorTobias Klauser <tklauser@distanz.ch>
Thu, 3 Oct 2019 08:06:08 +0000 (10:06 +0200)
committerBryan C. Mills <bcmills@google.com>
Wed, 9 Oct 2019 15:41:15 +0000 (15:41 +0000)
Update the expected data to fix the longtest builder.

Updates #28856

Change-Id: I7fb6ee72e8469d974561b4b4057f40142f5b3654
Reviewed-on: https://go-review.googlesource.com/c/go/+/198557
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
(cherry picked from commit 64785bf96c5942e5e2a3d326b48eae4e7b189e03)
Reviewed-on: https://go-review.googlesource.com/c/go/+/198700
Run-TryBot: Bryan C. Mills <bcmills@google.com>
(cherry picked from commit 17a492fdd5560a1b6e640a47a9ca83d2853341df)
Reviewed-on: https://go-review.googlesource.com/c/go/+/200038

src/cmd/go/internal/modfetch/coderepo_test.go

index 2c756c50f242e0dc767867bca93689275d2ad809..f9d19f751e80f41688483b9b03ae662fc999bf6f 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.5-0.20191002202810-970885f01c8b",
+               name:    "970885f01c8bc1fecb7ab1c8ce8e7609bda45530",
+               short:   "970885f01c8b",
+               time:    time.Date(2019, 10, 2, 20, 28, 10, 0, time.UTC),
                gomod:   "module \"gopkg.in/yaml.v2\"\n\nrequire (\n\t\"gopkg.in/check.v1\" v0.0.0-20161208181325-20d25e280405\n)\n",
        },
        {