fixing tests
This commit is contained in:
parent
70e6cfddc5
commit
7c3982fe3d
16 changed files with 31 additions and 30 deletions
|
|
@ -67,7 +67,7 @@ func TestMarketHoursRangeGetTicks(t *testing.T) {
|
|||
|
||||
ticks := ra.GetTicks(r, defaults, TimeValueFormatter)
|
||||
assert.NotEmpty(ticks)
|
||||
assert.Len(ticks, 5)
|
||||
assert.Len(5, ticks)
|
||||
assert.NotEqual(util.Time.ToFloat64(ra.Min), ticks[0].Value)
|
||||
assert.NotEmpty(ticks[0].Label)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue