aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/errors/errors_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-02-21 09:06:09 -0500
committerBryan C. Mills <bcmills@google.com>2019-02-22 17:24:25 +0000
commit8ea27e117fffbb14ef3605a641444b79e9bd6c9e (patch)
tree1e36f0447182c7aa54752a948e86ba7b3d3991da /misc/cgo/errors/errors_test.go
parentb35dacaac57b039205d9b07ea24098e2c3fcb12e (diff)
downloadgo-8ea27e117fffbb14ef3605a641444b79e9bd6c9e.tar.xz
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 <jayconrod@google.com>
Diffstat (limited to 'misc/cgo/errors/errors_test.go')
-rw-r--r--misc/cgo/errors/errors_test.go2
1 files changed, 1 insertions, 1 deletions
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) {