Explorar el Código

fix second errors.New example

Dave Cheney hace 10 años
padre
commit
a15b27b2bf
Se han modificado 1 ficheros con 1 adiciones y 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)