MCPcopy
hub / github.com/stretchr/testify / BenchmarkNotNil

Function BenchmarkNotNil

assert/assertions_test.go:3124–3128  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

3122}
3123
3124func BenchmarkNotNil(b *testing.B) {
3125 for i := 0; i < b.N; i++ {
3126 NotNil(b, b)
3127 }
3128}
3129
3130func ExampleComparisonAssertionFunc() {
3131 t := &testing.T{} // provided by test

Callers

nothing calls this directly

Calls 1

NotNilFunction · 0.70

Tested by

no test coverage detected