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

@ -17,7 +17,7 @@ func TestGenerateGridLines(t *testing.T) {
}
gl := GenerateGridLines(ticks, Style{}, Style{})
assert.Len(gl, 2)
assert.Len(2, gl)
assert.Equal(2.0, gl[0].Value)
assert.Equal(3.0, gl[1].Value)