(b *testing.B)
| 44 | } |
| 45 | |
| 46 | func BenchmarkBoolsReflect(b *testing.B) { |
| 47 | bs := make([]bool, 50) |
| 48 | enc := zapcore.NewJSONEncoder(zapcore.EncoderConfig{}) |
| 49 | b.ResetTimer() |
| 50 | for i := 0; i < b.N; i++ { |
| 51 | Reflect("array", bs).AddTo(enc.Clone()) |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func TestArrayWrappers(t *testing.T) { |
| 56 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…