From 2482ef723304ccfd95cf6838663e4627b175d16a Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Fri, 22 Feb 2013 12:23:19 +1100 Subject: [PATCH] testing: document that example output must use line comments Fixes #4812. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7396051 --- src/pkg/testing/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: // -- 2.48.1