<p dir="auto">See build dashboard.<br>
<a href="http://build.golang.org/log/b02e6aaa2fe497fadf898192d5425e7201569703" rel="nofollow">http://build.golang.org/log/b02e6aaa2fe497fadf898192d5425e7201569703</a><br>
<a href="http://build.golang.org/log/350de48b4c0e31390ac02f7a1af96c22401a5628" rel="nofollow">http://build.golang.org/log/350de48b4c0e31390ac02f7a1af96c22401a5628</a><br>
<a href="http://build.golang.org/log/58502b25b5c6dc158954ba111690223cb5bc078f" rel="nofollow">http://build.golang.org/log/58502b25b5c6dc158954ba111690223cb5bc078f</a><br>
<a href="http://build.golang.org/log/2bb42bac80498052be38e335298d05b43d370f1a" rel="nofollow">http://build.golang.org/log/2bb42bac80498052be38e335298d05b43d370f1a</a></p>
<p dir="auto">No errors at the package API, looks like timeoutTransmitter goroutine is not scheduled well, not sure the reason but seems like it needs further investigation.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="process continue
Process 580 resuming
--- FAIL: TestWriteTimeoutFluctuation (1.89s)

    timeout_test.go:706: Write took over 1s; expected 0.1s

FAIL

Process 580 exited with status = 1 (0x00000001) 
go_darwin_arm_exec: timeout running tests"><pre class="notranslate"><code class="notranslate">process continue
Process 580 resuming
--- FAIL: TestWriteTimeoutFluctuation (1.89s)

    timeout_test.go:706: Write took over 1s; expected 0.1s

FAIL

Process 580 exited with status = 1 (0x00000001) 
go_darwin_arm_exec: timeout running tests
</code></pre></div>
<p dir="auto">by <strong><a href="mailto:dsmid@clever.cz">dsmid@clever.cz</a></strong>:</p>
<pre class="notranslate">gofmt should have an option to enable putting left brace/parenthesis on the
next line.
I find this coding style more readable:

func (p *printer) writeNewlines(n int)
{
        if n &gt; 0
        {
                if n &gt; maxNewlines
                {
                        n = maxNewlines
                }
                p.write(newlines[0:n]);
        }
}

I made a modification that adds option -nextline to gofmt. See attached patch.</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/99/0/gofmt_nextline.patch" rel="nofollow">gofmt_nextline.patch</a> (2406 bytes)</li>
</ol>