Conditions | 4 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | //////////////////////////////////////////////////////////////////////////////// |
||
15 | func TestGet(t *testing.T) { |
||
16 | tests := []struct { |
||
17 | name string |
||
18 | want io.Writer |
||
19 | }{ |
||
20 | { |
||
21 | want: &Strategy{}, |
||
22 | }, |
||
23 | } |
||
24 | for _, tt := range tests { |
||
25 | t.Run(tt.name, func(t *testing.T) { |
||
26 | if got := Get(); reflect.TypeOf(got) != reflect.TypeOf(tt.want) { |
||
27 | t.Errorf("Get() = %v, want %v", got, tt.want) |
||
28 | } |
||
59 |