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

@ -242,7 +242,7 @@ func TestBarChartGetAxesTicks(t *testing.T) {
bc.YAxis.Style.Show = true
ticks = bc.getAxesTicks(r, yr, yf)
assert.Len(ticks, 2)
assert.Len(2, ticks)
}
func TestBarChartCalculateEffectiveBarSpacing(t *testing.T) {