add converter test
This commit is contained in:
parent
827b2d4df5
commit
cfce605bed
|
|
@ -97,7 +97,7 @@ func TestConverter(t *testing.T) {
|
||||||
Integer: []string{"b", "b1", "b2", "b3"},
|
Integer: []string{"b", "b1", "b2", "b3"},
|
||||||
Unsigned: []string{"c", "c1", "c2", "c3"},
|
Unsigned: []string{"c", "c1", "c2", "c3"},
|
||||||
Boolean: []string{"d"},
|
Boolean: []string{"d"},
|
||||||
Float: []string{"e"},
|
Float: []string{"e", "g"},
|
||||||
Tag: []string{"f"},
|
Tag: []string{"f"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -117,6 +117,7 @@ func TestConverter(t *testing.T) {
|
||||||
"d": "true",
|
"d": "true",
|
||||||
"e": "42.0",
|
"e": "42.0",
|
||||||
"f": "foo",
|
"f": "foo",
|
||||||
|
"g": "foo",
|
||||||
},
|
},
|
||||||
time.Unix(0, 0),
|
time.Unix(0, 0),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue