X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Ffill_step_plot.js;h=f40f8a5dd00895b508122154739d583a22467ce7;hb=65aa809360fb6b25560271cb76da88d911ef9d65;hp=fb66ad0aac25cd4fa61211cad6dda773e4bf16a0;hpb=8c31c7db4c13940f8a6bbab254a72a7991ae82ee;p=dygraphs.git diff --git a/auto_tests/tests/fill_step_plot.js b/auto_tests/tests/fill_step_plot.js index fb66ad0..f40f8a5 100644 --- a/auto_tests/tests/fill_step_plot.js +++ b/auto_tests/tests/fill_step_plot.js @@ -1,5 +1,5 @@ /** - * @fileoverview Test if you put give null values to dygraph with stepPlot + * @fileoverview Test if you give null values to dygraph with stepPlot * and fillGraph options enabled * * @author benoitboivin.pro@gmail.com (Benoit Boivin) @@ -25,7 +25,6 @@ fillStepPlotTestCase.prototype.tearDown = function() { fillStepPlotTestCase.prototype.testFillStepPlotNullValues = function() { - var attrs = {}; var opts = { labels: ["x","y"], width: 480, @@ -55,5 +54,5 @@ fillStepPlotTestCase.prototype.testFillStepPlotNullValues = function() { var xy2 = g.toDomCoords(x2, y2); // Check if a line is drawn between the previous y and the bottom of the chart - CanvasAssertions.assertLineDrawn(htx, xy1, xy2, attrs); + CanvasAssertions.assertLineDrawn(htx, xy1, xy2, {}); }; \ No newline at end of file