fix: Missing period
This commit is contained in:
parent
ca9c2e5e64
commit
43eb96da45
@ -73,7 +73,7 @@ func TestIntMinTableDriven(t *testing.T) {
|
|||||||
// `b.N` on each run until it collects a precise measurement.
|
// `b.N` on each run until it collects a precise measurement.
|
||||||
func BenchmarkIntMin(b *testing.B) {
|
func BenchmarkIntMin(b *testing.B) {
|
||||||
// Typically the benchmark runs a function we're
|
// Typically the benchmark runs a function we're
|
||||||
// benchmarking in a loop `b.N` times
|
// benchmarking in a loop `b.N` times.
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
IntMin(1, 2)
|
IntMin(1, 2)
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
c5907fe47b48851bc70a6aa754f35402c4b38ba2
|
3671aaf0eee9f6d2b68e51b09997be767edfe97c
|
||||||
U1pFrqtexa7
|
PlzU16wwEWE
|
||||||
|
4
public/testing
generated
4
public/testing
generated
@ -47,7 +47,7 @@ typically lives in the same package as the code it tests.</p>
|
|||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="code leading">
|
<td class="code leading">
|
||||||
<a href="http://play.golang.org/p/U1pFrqtexa7"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
<a href="http://play.golang.org/p/PlzU16wwEWE"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||||
<pre class="chroma">
|
<pre class="chroma">
|
||||||
<span class="kn">package</span> <span class="nx">main</span>
|
<span class="kn">package</span> <span class="nx">main</span>
|
||||||
</pre>
|
</pre>
|
||||||
@ -201,7 +201,7 @@ executes each benchmark function several times, increasing
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="docs">
|
<td class="docs">
|
||||||
<p>Typically the benchmark runs a function we’re
|
<p>Typically the benchmark runs a function we’re
|
||||||
benchmarking in a loop <code>b.N</code> times</p>
|
benchmarking in a loop <code>b.N</code> times.</p>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="code">
|
<td class="code">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user