1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:30:25 -07:00

testing: document that example output must use line comments

Fixes #4812.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7396051
This commit is contained in:
Olivier Duperray 2013-02-22 12:23:19 +11:00 committed by Andrew Gerrand
parent 6ec551887a
commit 2482ef7233

View 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:
//