From: clocksmith Date: Mon, 25 Feb 2013 17:58:36 +0000 (-0500) Subject: Fix value of yMax in callback.js test. X-Git-Tag: v1.0.0~48^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=83b552f96266368b364ede92a1317fe9b602871f;p=dygraphs.git Fix value of yMax in callback.js test. --- diff --git a/auto_tests/tests/callback.js b/auto_tests/tests/callback.js index 1d748fb..298fe8a 100644 --- a/auto_tests/tests/callback.js +++ b/auto_tests/tests/callback.js @@ -577,7 +577,7 @@ CallbackTestCase.prototype.underlayCallback_noSeries = function() { var callback = function(canvas, area, g) { called = true; yMin = g.yAxisRange(0)[0]; - yMax = g.yAxisRange(0)[0]; + yMax = g.yAxisRange(0)[1]; }; var graph = document.getElementById("graph");