From 3060c38bf6992ed65a4b122f267010200ed75f4d Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 8 May 2013 16:12:48 -0700 Subject: [PATCH] Fix failing test --- auto_tests/misc/local.html | 1 - auto_tests/tests/per_series.js | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index fb99a26..f34d18b 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -35,7 +35,6 @@ - diff --git a/auto_tests/tests/per_series.js b/auto_tests/tests/per_series.js index ab52add..1a04496 100644 --- a/auto_tests/tests/per_series.js +++ b/auto_tests/tests/per_series.js @@ -156,11 +156,12 @@ perSeriesTestCase.prototype.testOldAxisSpecInNewSeriesThrows = function() { }; var graph = document.getElementById("graph"); var data = "X,A,B,C,D,E\n0,1,2,3,4,5\n"; + var threw = false; try { new Dygraph(graph, data, opts); } catch(e) { - assertEquals( - "Using objects for axis specification is not supported inside the 'series' option.", - e); + threw = true; } + + assertTrue(threw); } -- 2.7.4