Skip to content

Commit

Permalink
Fix a typo (#12)
Browse files Browse the repository at this point in the history
I thought that benchmarkFib1 should be supposed to expose, how is it?
  • Loading branch information
hatajoe authored and davecheney committed Dec 10, 2018
1 parent 7b64897 commit bc38dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-benchmarking/examples/fib/fib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func BenchmarkFib20(b *testing.B) {
}
}

func benchmarkFib1(b *testing.B) {
func BenchmarkFib1(b *testing.B) {
for n := 0; n < b.N; n++ {
Fib(1)
}
Expand Down

0 comments on commit bc38dd8

Please sign in to comment.