소스 검색

fix second errors.New example

Dave Cheney 10 년 전
부모
커밋
a15b27b2bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      example_test.go

+ 1 - 1
example_test.go

@@ -14,7 +14,7 @@ func ExampleNew() {
 	// Output: whoops
 }
 
-func ExampleNew_Fprint() {
+func ExampleNew_fprint() {
 	err := errors.New("whoops")
 	errors.Fprint(os.Stdout, err)