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:
parent
3edccc4758
commit
ac680bd82d
15 changed files with 29 additions and 29 deletions
|
|
@ -23,7 +23,7 @@ func TestXAxisGetTicks(t *testing.T) {
|
|||
}
|
||||
vf := FloatValueFormatter
|
||||
ticks := xa.GetTicks(r, xr, styleDefaults, vf)
|
||||
assert.Len(16, ticks)
|
||||
assert.Len(ticks, 16)
|
||||
}
|
||||
|
||||
func TestXAxisGetTicksWithUserDefaults(t *testing.T) {
|
||||
|
|
@ -45,7 +45,7 @@ func TestXAxisGetTicksWithUserDefaults(t *testing.T) {
|
|||
}
|
||||
vf := FloatValueFormatter
|
||||
ticks := xa.GetTicks(r, xr, styleDefaults, vf)
|
||||
assert.Len(1, ticks)
|
||||
assert.Len(ticks, 1)
|
||||
}
|
||||
|
||||
func TestXAxisMeasure(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue