Passed
Push — master ( b9ce7a...fa5039 )
by Stefano
02:17
created

client.TestRequestCacheTransportDecorator   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
package client
2
3
import (
4
	"testing"
5
6
	"github.com/stretchr/testify/assert"
7
)
8
9
func TestRequestCacheTransportDecorator(t *testing.T) {
10
	transport, err := decorateTransportWithRequestCacheDecorator(nil)
11
	assert.Nil(t, transport)
12
	assert.Error(t, err)
13
}
14