fixing tests

This commit is contained in:
Will Charczuk 2017-04-25 20:03:30 -07:00
parent da432bc1db
commit b244fd675c

View file

@ -14,9 +14,9 @@ func TestTimeValueFormatterWithFormat(t *testing.T) {
di := Time.ToFloat64(d)
df := float64(di)
s := TimeValueFormatterWithFormat(d, DefaultDateFormat)
si := TimeValueFormatterWithFormat(di, DefaultDateFormat)
sf := TimeValueFormatterWithFormat(df, DefaultDateFormat)
s := formatTime(d, DefaultDateFormat)
si := formatTime(di, DefaultDateFormat)
sf := formatTime(df, DefaultDateFormat)
assert.Equal(s, si)
assert.Equal(s, sf)