This repository was archived by the owner on Dec 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ func TestStackTrace(t *testing.T) {
134134 },
135135 }, {
136136 func () error { noinline (); return New ("ooh" ) }(), []string {
137- `github.com/pkg/errors.(func·009| TestStackTrace.func1) ` +
137+ `github.com/pkg/errors.TestStackTrace.func1` +
138138 "\n \t .+/github.com/pkg/errors/stack_test.go:136" , // this is the stack of New
139139 "github.com/pkg/errors.TestStackTrace\n " +
140140 "\t .+/github.com/pkg/errors/stack_test.go:136" , // this is the stack of New's caller
@@ -145,9 +145,9 @@ func TestStackTrace(t *testing.T) {
145145 return Errorf ("hello %s" , fmt .Sprintf ("world" ))
146146 }()
147147 }()), []string {
148- `github.com/pkg/errors.(func·010| TestStackTrace.func2.1) ` +
148+ `github.com/pkg/errors.TestStackTrace.func2.1` +
149149 "\n \t .+/github.com/pkg/errors/stack_test.go:145" , // this is the stack of Errorf
150- `github.com/pkg/errors.(func·011| TestStackTrace.func2) ` +
150+ `github.com/pkg/errors.TestStackTrace.func2` +
151151 "\n \t .+/github.com/pkg/errors/stack_test.go:146" , // this is the stack of Errorf's caller
152152 "github.com/pkg/errors.TestStackTrace\n " +
153153 "\t .+/github.com/pkg/errors/stack_test.go:147" , // this is the stack of Errorf's caller's caller
You can’t perform that action at this time.
0 commit comments