Commit 2482ef72 authored by Olivier Duperray's avatar Olivier Duperray Committed by Andrew Gerrand

testing: document that example output must use line comments

Fixes #4812.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7396051
parent 6ec55188
......@@ -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:
//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment