fixing build.

This commit is contained in:
Will Charczuk 2016-08-11 22:24:40 -07:00
parent 9c53de511a
commit 102f7a8aa3

View file

@ -16,11 +16,9 @@ func TestGenerateGridLines(t *testing.T) {
{Value: 4.0, Label: "4.0"}, {Value: 4.0, Label: "4.0"},
} }
gl := GenerateGridLines(ticks, Style{}, Style{}, true) gl := GenerateGridLines(ticks, Style{}, Style{})
assert.Len(gl, 2) assert.Len(gl, 2)
assert.Equal(2.0, gl[0].Value) assert.Equal(2.0, gl[0].Value)
assert.Equal(3.0, gl[1].Value) assert.Equal(3.0, gl[1].Value)
assert.True(gl[0].IsVertical)
} }