]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: add subheads and adjust formatting in the 'Go command' section
authorBryan C. Mills <bcmills@google.com>
Tue, 22 Sep 2020 01:50:37 +0000 (21:50 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 22 Sep 2020 16:52:11 +0000 (16:52 +0000)
Change-Id: I5f70684d4033d8b11e1cce89268d8222ed596c67
Reviewed-on: https://go-review.googlesource.com/c/go/+/256400
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
doc/go1.16.html

index 0167030ef8c66879af6c70d3367db4717149ef66..63ce61b4521ba499167e1deef57a95702c3e0125 100644 (file)
@@ -43,6 +43,8 @@ Do not send CLs removing the interior tags from such phrases.
 
 <h3 id="go-command">Go command</h3>
 
+<h4 id="modules">Modules</h4>
+
 <p><!-- golang.org/issue/40276 -->
   <code>go</code> <code>install</code> now accepts arguments with
   version suffixes (for example, <code>go</code> <code>install</code>
@@ -64,12 +66,14 @@ Do not send CLs removing the interior tags from such phrases.
   TODO: write and link to tutorial or blog post
 </p>
 
+<h4 id="go-test"><code>go</code> <code>test</code></h4>
+
 <p><!-- golang.org/issue/29062 -->
-  When using <code>go test</code>, a test that
+  When using <code>go</code> <code>test</code>, a test that
   calls <code>os.Exit(0)</code> during execution of a test function
   will now be considered to fail.
   This will help catch cases in which a test calls code that calls
-  os.Exit(0) and thereby stops running all future tests.
+  <code>os.Exit(0)</code> and thereby stops running all future tests.
   If a <code>TestMain</code> function calls <code>os.Exit(0)</code>
   that is still considered to be a passing test.
 </p>