fixing tests
This commit is contained in:
parent
70e6cfddc5
commit
7c3982fe3d
16 changed files with 31 additions and 30 deletions
|
|
@ -23,7 +23,7 @@ func TestXAxisGetTicks(t *testing.T) {
|
|||
}
|
||||
vf := FloatValueFormatter
|
||||
ticks := xa.GetTicks(r, xr, styleDefaults, vf)
|
||||
assert.Len(ticks, 16)
|
||||
assert.Len(16, ticks)
|
||||
}
|
||||
|
||||
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(ticks, 1)
|
||||
assert.Len(1, ticks)
|
||||
}
|
||||
|
||||
func TestXAxisMeasure(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue