add converter test

This commit is contained in:
Steven Soroka 2020-10-09 16:10:57 -04:00
parent 827b2d4df5
commit cfce605bed
1 changed files with 2 additions and 1 deletions

View File

@ -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),
), ),