From: Bryan C. Mills Date: Tue, 5 Mar 2019 22:45:39 +0000 (-0500) Subject: runtime: do not use a relative import in testdata X-Git-Tag: go1.13beta1~1183 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=52e2126a5ee7c1123ded51874ec0fe0394eabd0a;p=gostls13.git 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 TryBot-Result: Gobot Gobot Reviewed-by: Jay Conrod --- 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)