aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-03-05 17:45:39 -0500
committerBryan C. Mills <bcmills@google.com>2019-03-06 18:56:19 +0000
commit52e2126a5ee7c1123ded51874ec0fe0394eabd0a (patch)
tree4857a751d3481b7b0728a53f138139061610f2a2 /src/runtime/testdata
parentb1a783df87069e395f0fb1a033a685b35d34b2ee (diff)
downloadgo-52e2126a5ee7c1123ded51874ec0fe0394eabd0a.tar.xz
runtime: do not use a relative import in testdata
Relative imports do not work in module mode. Use a fully-qualified import path instead. Updates #30228 Change-Id: I0a42ffa521a7b513395e7e1788022d24cbb1f31a Reviewed-on: https://go-review.googlesource.com/c/go/+/165817 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/runtime/testdata')
-rw-r--r--src/runtime/testdata/testprogcgo/dll_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/testdata/testprogcgo/dll_windows.go b/src/runtime/testdata/testprogcgo/dll_windows.go
index aed2410a45..25380fb217 100644
--- a/src/runtime/testdata/testprogcgo/dll_windows.go
+++ b/src/runtime/testdata/testprogcgo/dll_windows.go
@@ -12,7 +12,7 @@ DWORD getthread() {
}
*/
import "C"
-import "./windows"
+import "runtime/testdata/testprogcgo/windows"
func init() {
register("CgoDLLImportsMain", CgoDLLImportsMain)