X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Ferror_bars.js;h=c9e3a387baf2e2d2c7adbde18781fd39cf0cf966;hb=300c5ff08f0d397093c803bc86f5cd145ba9655d;hp=0d8b3bac222166eded95184f0d5dada3b3fa4384;hpb=f35016e8b97d39691777a8ad850bfa314e7e223a;p=dygraphs.git diff --git a/auto_tests/tests/error_bars.js b/auto_tests/tests/error_bars.js index 0d8b3ba..c9e3a38 100644 --- a/auto_tests/tests/error_bars.js +++ b/auto_tests/tests/error_bars.js @@ -21,7 +21,7 @@ errorBarsTestCase.prototype.tearDown = function() { Dygraph.getContext = _origFunc; }; -errorBarsTestCase.prototype.testNameGoesHere = function() { +errorBarsTestCase.prototype.testErrorBarsDrawn = function() { var opts = { width: 480, height: 320, @@ -86,5 +86,6 @@ errorBarsTestCase.prototype.testNameGoesHere = function() { xy2 = g.toDomCoords(data[i + 1][0], data[i + 1][1][1]); CanvasAssertions.assertLineDrawn(htx, xy1, xy2, attrs); } + CanvasAssertions.assertBalancedSaveRestore(htx); };