Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 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 |