☰
Debian Codegraph
@
0.9.1-2
0.9.1-1
/
/
helpers_test.go
☽
☼
helpers_test.go
code
plain
raw
Expat
2016 Mail.Ru Group
debian/copyright
1
package easyjson
2
3
import "testing"
4
5
func BenchmarkNilCheck(b *testing.B) {
6
var a *int
7
for i := 0; i < b.N; i++ {
8
if !isNilInterface(a) {
9
b.Fatal("expected it to be nil")
10
}
11
}
12
}