(b *testing.B)
| 14 | ) |
| 15 | |
| 16 | func BenchmarkOpenResponseWriter(b *testing.B) { |
| 17 | enc := new(Encode) |
| 18 | for b.Loop() { |
| 19 | enc.openResponseWriter("test", nil, false) |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | func TestPreferOrder(t *testing.T) { |
| 24 | testCases := []struct { |
nothing calls this directly
no test coverage detected