X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Frange_tests.js;h=32c511e6cef326f64ce0affca8c06fa21baf268f;hb=8ae015b50696f7cdbe20d2bec89cf9e9267738e3;hp=561ceeb5a5c0c6f64b6d6ec2e7ff507db6483933;hpb=02eb7ae72eb3d5e83c2bf546d1fc2a6a60b91008;p=dygraphs.git diff --git a/auto_tests/tests/range_tests.js b/auto_tests/tests/range_tests.js index 561ceeb..32c511e 100644 --- a/auto_tests/tests/range_tests.js +++ b/auto_tests/tests/range_tests.js @@ -84,7 +84,6 @@ RangeTestCase.prototype.zoom = function(g, xRange, yRange) { var originalXRange = g.xAxisRange(); var originalYRange = g.yAxisRange(0); - // Editing e.shiftKey post construction doesn't work for Firefox. Damn. DygraphOps.dispatchMouseDown(g, xRange[0], yRange[0]); DygraphOps.dispatchMouseMove(g, xRange[1], yRange[0]); // this is really necessary. DygraphOps.dispatchMouseUp(g, xRange[1], yRange[0]); @@ -115,10 +114,8 @@ RangeTestCase.prototype.testEmptyUpdateOptions_doesntUnzoom = function() { g.updateOptions({}); - // This currently fails. - // See http://code.google.com/p/dygraphs/issues/detail?id=192 assertEqualsDelta([11, 18], g.xAxisRange(), 0.1); - // assertEqualsDelta([35, 40], g.yAxisRange(0), 0.2); + assertEqualsDelta([35, 40], g.yAxisRange(0), 0.2); } /**