(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func setupGzipWrapCompressor(t *testing.T) *wrapCompressor { |
| 54 | regFn := internal.RegisterCompressorForTesting.(func(encoding.Compressor) func()) |
| 55 | c := &wrapCompressor{Compressor: encoding.GetCompressor("gzip")} |
| 56 | unreg := regFn(c) |
| 57 | t.Cleanup(unreg) |
| 58 | return c |
| 59 | } |
| 60 | |
| 61 | func (s) TestSetSendCompressorSuccess(t *testing.T) { |
| 62 | for _, tt := range []struct { |
no test coverage detected