Skip to content

Commit 31580a5

Browse files
committed
xerrors: remove dependency on local path
Don't assume the test is located in a path ending in /golang.org/x/xerrors. Change-Id: Ic16ba4447fc34b9f958fcae9870f331568b0fab8 Reviewed-on: https://go-review.googlesource.com/c/160697 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 037a186 commit 31580a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmt_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func TestErrorFormatter(t *testing.T) {
136136
fmt: "%+v",
137137
want: "something:" +
138138
"\n golang.org/x/xerrors_test.TestErrorFormatter" +
139-
"\n .+/golang.org/x/xerrors/fmt_test.go:97" +
139+
"\n .+/fmt_test.go:97" +
140140
"\n something more",
141141
regexp: true,
142142
}, {

0 commit comments

Comments
 (0)