Browse Source

fix second errors.New example

Dave Cheney 10 năm trước cách đây
mục cha
commit
a15b27b2bf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)