aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-12-14 19:18:20 -0800
committerIan Lance Taylor <iant@golang.org>2020-12-15 20:45:24 +0000
commitf8ac2370324ad9b058fe9b943f5807ac28a88f6f (patch)
treec40d44bfe9b9ce799ad9fd9e9a1801e74aae449f /test
parenta508840c671f4ec4b923daa04c0ac17378ab52b4 (diff)
downloadgo-f8ac2370324ad9b058fe9b943f5807ac28a88f6f.tar.gz
go-f8ac2370324ad9b058fe9b943f5807ac28a88f6f.zip
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 <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/fixedbugs/issue19028.dir/main.go2
1 files changed, 1 insertions, 1 deletions
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 {