]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: correct TestCodeRepo expectation
authorRuss Cox <rsc@golang.org>
Fri, 17 Aug 2018 19:53:35 +0000 (15:53 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 17 Aug 2018 23:17:09 +0000 (23:17 +0000)
commit16a72125d53b31e2f70a6922bc398dcbba354b7a
treecc0a81474d82332149ce180df550026e36ad9cb9
parent0a842d55609f5deb25889f151e49744c4af3ec80
cmd/go/internal/modfetch: correct TestCodeRepo expectation

The proxy protocol was simplified to only send
(and only receive) the Path and Version fields
in the JSON blob, not Name and Short.
(Those make sense when querying a VCS repo directly,
but not when talking about extracted modules.)
So don't expect them in the test.

Fixes #27042.

Change-Id: I3daacd668126e2227dcc8e6b89ee0cf0e3c8497c
Reviewed-on: https://go-review.googlesource.com/129684
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/modfetch/coderepo_test.go