Dave Cheney 9 лет назад
Родитель
Сommit
f22595b332
1 измененных файлов с 1 добавлено и 1 удалено
  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
 	}