projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #499 from danvk/synchronizer
[dygraphs.git]
/
auto_tests
/
tests
/
multi_csv.js
diff --git
a/auto_tests/tests/multi_csv.js
b/auto_tests/tests/multi_csv.js
index
92dcc55
..
764c402
100644
(file)
--- a/
auto_tests/tests/multi_csv.js
+++ b/
auto_tests/tests/multi_csv.js
@@
-3,7
+3,7
@@
*
* @author dan@dygraphs.com (Dan Vanderkam)
*/
*
* @author dan@dygraphs.com (Dan Vanderkam)
*/
-var MultiCsvTestCase = TestCase("
axis-labels
");
+var MultiCsvTestCase = TestCase("
multi-csv
");
MultiCsvTestCase.prototype.setUp = function() {
document.body.innerHTML = "<div id='graph'></div>";
MultiCsvTestCase.prototype.setUp = function() {
document.body.innerHTML = "<div id='graph'></div>";
@@
-36,7
+36,7
@@
MultiCsvTestCase.prototype.testOneCSV = function() {
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
- assertEquals(['0',
'0.5','1','1.5','2','2.5
'], getXLabels());
+ assertEquals(['0',
'1', '2
'], getXLabels());
};
MultiCsvTestCase.prototype.testTwoCSV = function() {
};
MultiCsvTestCase.prototype.testTwoCSV = function() {
@@
-54,9
+54,9
@@
MultiCsvTestCase.prototype.testTwoCSV = function() {
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
- assertEquals(['0',
'0.5','1','1.5','2','2.5
'], getXLabels());
+ assertEquals(['0',
'1', '2
'], getXLabels());
g.updateOptions({file: data});
g.updateOptions({file: data});
- assertEquals(['0',
'0.5','1','1.5','2','2.5
'], getXLabels());
+ assertEquals(['0',
'1', '2
'], getXLabels());
};
};