From: Ian Lance Taylor Date: Tue, 15 Dec 2020 03:18:20 +0000 (-0800) Subject: test: import file name for issue19028 X-Git-Tag: go1.16beta1~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f8ac237032;p=gostls13.git test: import file name for issue19028 The pattern in NNN.dir directories is that if we have a.go, the other files import "./a". For gc it happens to work to use a path, but not for gofrontend. Better to be consistent. Change-Id: I2e023cbf6bd115f9fb77427b097b0ff9b9992f17 Reviewed-on: https://go-review.googlesource.com/c/go/+/278113 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Than McIntosh Reviewed-by: Cherry Zhang --- diff --git a/test/fixedbugs/issue19028.dir/main.go b/test/fixedbugs/issue19028.dir/main.go index 627e926f93..e2ee7b8ca1 100644 --- a/test/fixedbugs/issue19028.dir/main.go +++ b/test/fixedbugs/issue19028.dir/main.go @@ -6,7 +6,7 @@ package main import ( "reflect" - fake "./reflect" // 2nd package with name "reflect" + fake "./a" // 2nd package with name "reflect" ) type T struct {