@@ -76,10 +76,10 @@ type tbConfig struct {
76
76
NoTag string
77
77
IgnoreMe string `decoder:"-"`
78
78
ImSpecial string
79
- TestSpaceSepStr []string `decoder:",ssv"`
80
- TestCommaSepStr []* string `decoder:",csv"`
81
- TestSpaceSepInt []int `decoder:",ssv"`
82
- TestCommaSepInt []int `decoder:",csv"`
79
+ TestSpaceSepStr []string `decoder:",ssv"`
80
+ TestCommaSepStr * []* string `decoder:",csv"`
81
+ TestSpaceSepInt []int `decoder:",ssv"`
82
+ TestCommaSepInt []int `decoder:",csv"`
83
83
}
84
84
85
85
func makeServer (t * testing.T , cb testutil.ServerConfigCallback ) * testutil.TestServer {
@@ -259,8 +259,8 @@ func (es *encoderTestSuite) TestUnmarshal() {
259
259
es .Assert ().Equal (tbc .L1 .Level2 .Int , int64 (- 4 ))
260
260
es .Assert ().Equal (tbc .L1 .Level2 .Level3 .Uint , uint32 (5 ))
261
261
es .Assert ().Equal (tbc .L1 .Level2 .Level3 .Int , int32 (- 6 ))
262
- es .Assert ().Equal (len (tbc .TestCommaSepStr ), 3 )
263
- es .Assert ().Equal (* (tbc .TestCommaSepStr [0 ]), `three, with embedded comma "and quotes"` )
262
+ es .Assert ().Equal (len (* tbc .TestCommaSepStr ), 3 )
263
+ es .Assert ().Equal (* (( * tbc .TestCommaSepStr ) [0 ]), `three, with embedded comma "and quotes"` )
264
264
es .Assert ().Equal (len (tbc .TestSpaceSepStr ), 3 )
265
265
es .Assert ().Equal (len (tbc .TestSpaceSepInt ), 3 )
266
266
es .Assert ().Equal (len (tbc .TestCommaSepInt ), 3 )
0 commit comments