]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.12: release notes for testing
authorJulie Qiu <julie@golang.org>
Thu, 6 Dec 2018 16:02:49 +0000 (11:02 -0500)
committerJulie Qiu <julie@golang.org>
Wed, 12 Dec 2018 19:33:05 +0000 (19:33 +0000)
Change-Id: I81ffe7ee88354efeabb24f091db66c7c4892876c
Reviewed-on: https://go-review.googlesource.com/c/152919
Reviewed-by: Andrew Bonventre <andybons@golang.org>
doc/go1.12.html

index 0e381eb679c1c9c74b7533dd8a79a269ceae4f9e..f036180f5322b69f231f964fd41fa35a150c5668 100644 (file)
@@ -620,12 +620,8 @@ for {
 
 <dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
   <dd>
-    <p><!-- CL 121936 -->
-      TODO: <a href="https://golang.org/cl/121936">https://golang.org/cl/121936</a>: exit with error if testing.Short is called before flag.Parse
-    </p>
-
     <p><!-- CL 139258 -->
-      TODO: <a href="https://golang.org/cl/139258">https://golang.org/cl/139258</a>: implement -benchtime=100x
+    The <a href="/cmd/go/#hdr-Testing_flags"><code>-benchtime</code></a> flag now supports setting an explicit iteration count instead of a time when the value ends with an "<code>x</code>". For example, <code>-benchtime=100x</code> runs the benchmark 100 times.
     </p>
 
 </dl><!-- testing -->