Skip to content

Commit 9763944

Browse files
committed
internal/fetch: fix TestFetchModule/stdlib_module test
TestFetchModule/stdlib_module was broken as a result of CL 242357, and is now fixed. Change-Id: I1fca97f2e824a7dbf3d96334fe30e22e8b0de16a Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/242364 Reviewed-by: Jonathan Amsterdam <[email protected]>
1 parent 04d6c4c commit 9763944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/fetch/test_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var testProxyCommitTime = time.Date(2019, 1, 30, 0, 0, 0, 0, time.UTC)
2727

2828
func cleanFetchResult(fr *FetchResult, detector *licenses.Detector) *FetchResult {
2929
fr.ModulePath = fr.Module.ModulePath
30-
if fr.GoModPath == "" && fr.ModulePath != stdlib.ModulePath {
30+
if fr.GoModPath == "" {
3131
fr.GoModPath = fr.ModulePath
3232
}
3333
if fr.Status == 0 {

0 commit comments

Comments
 (0)