Skip to content

Commit a8b4bee

Browse files
author
Bryan C. Mills
committed
cmd/go/internal/modfetch: replace nanomsg.org with vcs-test in TestCodeRepo
nanomsg.org currently performs an HTTPS-to-HTTP redirect, so this case fails after the fix for #29591. Updates #29591 Change-Id: I6306d378ef213e98c0271258bbc6669bb33f9021 Reviewed-on: https://go-review.googlesource.com/c/go/+/170637 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
1 parent 61e0cac commit a8b4bee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ var codeRepoTests = []codeRepoTest{
328328
gomod: "module gopkg.in/natefinch/lumberjack.v2\n",
329329
},
330330
{
331-
path: "nanomsg.org/go/mangos/v2",
332-
rev: "v2.0.2",
333-
version: "v2.0.2",
334-
name: "63f66a65137b9a648ac9f7bf0160b4a4d17d7999",
335-
short: "63f66a65137b",
336-
time: time.Date(2018, 12, 1, 15, 7, 40, 0, time.UTC),
337-
gomod: "module nanomsg.org/go/mangos/v2\n\nrequire (\n\tgithub.1485827954.workers.dev/Microsoft/go-winio v0.4.11\n\tgithub.1485827954.workers.dev/droundy/goopt v0.0.0-20170604162106-0b8effe182da\n\tgithub.1485827954.workers.dev/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect\n\tgithub.1485827954.workers.dev/gorilla/websocket v1.4.0\n\tgithub.1485827954.workers.dev/jtolds/gls v4.2.1+incompatible // indirect\n\tgithub.1485827954.workers.dev/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect\n\tgithub.1485827954.workers.dev/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c\n\tgolang.org/x/sys v0.0.0-20181128092732-4ed8d59d0b35 // indirect\n)\n",
331+
path: "vcs-test.golang.org/go/v2module/v2",
332+
rev: "v2.0.0",
333+
version: "v2.0.0",
334+
name: "203b91c896acd173aa719e4cdcb7d463c4b090fa",
335+
short: "203b91c896ac",
336+
time: time.Date(2019, 4, 3, 15, 52, 15, 0, time.UTC),
337+
gomod: "module vcs-test.golang.org/go/v2module/v2\n\ngo 1.12\n",
338338
},
339339
}
340340

0 commit comments

Comments
 (0)