]> Cypherpunks repositories - gostls13.git/commitdiff
testing: document that example output must use line comments
authorOlivier Duperray <duperray.olivier@gmail.com>
Fri, 22 Feb 2013 01:23:19 +0000 (12:23 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 22 Feb 2013 01:23:19 +0000 (12:23 +1100)
Fixes #4812.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7396051

src/pkg/testing/testing.go

index b1dafd0c3d5ed7b2e231b8b768b442d3587e5671..466a8786f2cce76fd8807cdb32d9c56775d47b3b 100644 (file)
@@ -50,7 +50,7 @@
 //     }
 //
 // The package also runs and verifies example code. Example functions may
-// include a concluding comment that begins with "Output:" and is compared with
+// include a concluding line comment that begins with "Output:" and is compared with
 // the standard output of the function when the tests are run. (The comparison
 // ignores leading and trailing space.) These are examples of an example:
 //