X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fmissing_points.js;h=48ef26dc6f699a5d18be32b5421a1b0cce413159;hb=refs%2Fheads%2F558-fill-artifacts;hp=84b875f1cc0d558216f32b7f9e385ef67c625755;hpb=65129ba82d4efe12714be88fa3c792149c00ca10;p=dygraphs.git diff --git a/auto_tests/tests/missing_points.js b/auto_tests/tests/missing_points.js index 84b875f..48ef26d 100644 --- a/auto_tests/tests/missing_points.js +++ b/auto_tests/tests/missing_points.js @@ -46,7 +46,10 @@ it('testSeparatedPointsDontDraw', function() { [[1, 10, 11], [2, 11, null], [3, 12, 13]], - { colors: ['red', 'blue']}); + { + colors: ['red', 'blue'], + labels: ['X', 'Y1', 'Y2'] + }); var htx = g.hidden_ctx_; assert.equal(2, CanvasAssertions.numLinesDrawn(htx, '#ff0000')); assert.equal(0, CanvasAssertions.numLinesDrawn(htx, '#0000ff'));