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
|
|
@ -17,7 +17,7 @@ func TestGenerateGridLines(t *testing.T) {
|
|||
}
|
||||
|
||||
gl := GenerateGridLines(ticks, Style{}, Style{})
|
||||
assert.Len(2, gl)
|
||||
assert.Len(gl, 2)
|
||||
|
||||
assert.Equal(2.0, gl[0].Value)
|
||||
assert.Equal(3.0, gl[1].Value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue