Explorar o código

fix Stacktrace example

Dave Cheney %!s(int64=9) %!d(string=hai) anos
pai
achega
f22595b332
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      example_test.go

+ 1 - 1
example_test.go

@@ -70,7 +70,7 @@ func ExampleErrorf() {
 	// Output: github.com/pkg/errors/example_test.go:67: whoops: foo
 }
 
-func ExampleError_Stacktrace() {
+func Example_stacktrace() {
 	type Stacktrace interface {
 		Stacktrace() []errors.Frame
 	}