Fixed order of arguments to assert.Len in test files. (#93)

* Fixed order of arguments to assert.Len in test files.

* Added BaseValue funtionality to bar chart
This commit is contained in:
David Mis 2018-09-05 10:45:19 -05:00 committed by Will Charczuk
parent 3edccc4758
commit ac680bd82d
15 changed files with 29 additions and 29 deletions

View file

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