diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-11-27 01:05:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-11-27 01:05:38 +0000 |
commit | 815ca4d336e254a4869946343460afc8ff6b21c7 (patch) | |
tree | a639e5c4b06bb7971b24112a25fdae25a1b3d863 /libgo/go/testing | |
parent | 40a373f1d56a77524d9047ab66176b9d2a82cb57 (diff) | |
download | gcc-815ca4d336e254a4869946343460afc8ff6b21c7.zip gcc-815ca4d336e254a4869946343460afc8ff6b21c7.tar.gz gcc-815ca4d336e254a4869946343460afc8ff6b21c7.tar.bz2 |
libgo: Update to current Go library.
From-SVN: r205426
Diffstat (limited to 'libgo/go/testing')
-rw-r--r-- | libgo/go/testing/testing.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgo/go/testing/testing.go b/libgo/go/testing/testing.go index 5019e07..52dc166 100644 --- a/libgo/go/testing/testing.go +++ b/libgo/go/testing/testing.go @@ -73,17 +73,19 @@ // // Example functions without output comments are compiled but not executed. // -// The naming convention to declare examples for a function F, a type T and +// The naming convention to declare examples for the package, a function F, a type T and // method M on type T are: // +// func Example() { ... } // func ExampleF() { ... } // func ExampleT() { ... } // func ExampleT_M() { ... } // -// Multiple example functions for a type/function/method may be provided by +// Multiple example functions for a package/type/function/method may be provided by // appending a distinct suffix to the name. The suffix must start with a // lower-case letter. // +// func Example_suffix() { ... } // func ExampleF_suffix() { ... } // func ExampleT_suffix() { ... } // func ExampleT_M_suffix() { ... } |