fixing tests

This commit is contained in:
Will Charczuk 2018-04-05 00:47:39 -07:00
parent 70e6cfddc5
commit 7c3982fe3d
16 changed files with 31 additions and 30 deletions

View file

@ -23,7 +23,7 @@ func TestYAxisGetTicks(t *testing.T) {
}
vf := FloatValueFormatter
ticks := ya.GetTicks(r, yr, styleDefaults, vf)
assert.Len(ticks, 32)
assert.Len(32, ticks)
}
func TestYAxisGetTicksWithUserDefaults(t *testing.T) {
@ -45,7 +45,7 @@ func TestYAxisGetTicksWithUserDefaults(t *testing.T) {
}
vf := FloatValueFormatter
ticks := ya.GetTicks(r, yr, styleDefaults, vf)
assert.Len(ticks, 1)
assert.Len(1, ticks)
}
func TestYAxisMeasure(t *testing.T) {