From 8ea27e117fffbb14ef3605a641444b79e9bd6c9e Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 21 Feb 2019 09:06:09 -0500 Subject: misc/cgo/errors: fix tests in module mode Updates #30228 Change-Id: I84bc705591bdb3da0106404b24353251939355b8 Reviewed-on: https://go-review.googlesource.com/c/163209 Reviewed-by: Jay Conrod --- misc/cgo/errors/errors_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/cgo/errors/errors_test.go') diff --git a/misc/cgo/errors/errors_test.go b/misc/cgo/errors/errors_test.go index 59054f4703..f727158c48 100644 --- a/misc/cgo/errors/errors_test.go +++ b/misc/cgo/errors/errors_test.go @@ -18,7 +18,7 @@ import ( ) func path(file string) string { - return filepath.Join("src", file) + return filepath.Join("testdata", file) } func check(t *testing.T, file string) { -- cgit v1.3