projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reduce the width of testGridLinePattern from 480px to 120px, making the test run...
[dygraphs.git]
/
auto_tests
/
tests
/
per_series.js
diff --git
a/auto_tests/tests/per_series.js
b/auto_tests/tests/per_series.js
index
ab52add
..
1a04496
100644
(file)
--- 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 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) {
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);
}
}