fixing tests
This commit is contained in:
parent
da432bc1db
commit
b244fd675c
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ func TestTimeValueFormatterWithFormat(t *testing.T) {
|
||||||
di := Time.ToFloat64(d)
|
di := Time.ToFloat64(d)
|
||||||
df := float64(di)
|
df := float64(di)
|
||||||
|
|
||||||
s := TimeValueFormatterWithFormat(d, DefaultDateFormat)
|
s := formatTime(d, DefaultDateFormat)
|
||||||
si := TimeValueFormatterWithFormat(di, DefaultDateFormat)
|
si := formatTime(di, DefaultDateFormat)
|
||||||
sf := TimeValueFormatterWithFormat(df, DefaultDateFormat)
|
sf := formatTime(df, DefaultDateFormat)
|
||||||
assert.Equal(s, si)
|
assert.Equal(s, si)
|
||||||
assert.Equal(s, sf)
|
assert.Equal(s, sf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue