Skip to content

Commit 686b814

Browse files
committed
cmd/go/internal/modfetch: update TestCodeRepo for gopkg.in/yaml.v2
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 700e969 commit 686b814

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ var codeRepoTests = []struct {
286286
{
287287
path: "gopkg.in/yaml.v2",
288288
rev: "v2",
289-
version: "v2.2.2",
290-
name: "51d6538a90f86fe93ac480b35f37b2be17fef232",
291-
short: "51d6538a90f8",
292-
time: time.Date(2018, 11, 15, 11, 05, 04, 0, time.UTC),
289+
version: "v2.2.3-0.20190319135612-7b8349ac747c",
290+
name: "7b8349ac747c6a24702b762d2c4fd9266cf4f1d6",
291+
short: "7b8349ac747c",
292+
time: time.Date(2019, 03, 19, 13, 56, 12, 0, time.UTC),
293293
gomod: "module \"gopkg.in/yaml.v2\"\n\nrequire (\n\t\"gopkg.in/check.v1\" v0.0.0-20161208181325-20d25e280405\n)\n",
294294
},
295295
{

0 commit comments

Comments
 (0)