From: Olivier Duperray Date: Fri, 22 Feb 2013 01:23:19 +0000 (+1100) Subject: testing: document that example output must use line comments X-Git-Tag: go1.1rc2~908 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2482ef723304ccfd95cf6838663e4627b175d16a;p=gostls13.git testing: document that example output must use line comments Fixes #4812. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7396051 --- diff --git a/src/pkg/testing/testing.go b/src/pkg/testing/testing.go index b1dafd0c3d..466a8786f2 100644 --- a/src/pkg/testing/testing.go +++ b/src/pkg/testing/testing.go @@ -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: //