Explorar o código

fix second errors.New example

Dave Cheney %!s(int64=10) %!d(string=hai) anos
pai
achega
a15b27b2bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)