Permalink
Browse files

Addition to test for #4204.

  • Loading branch information...
TorsteinHonsi committed Jul 26, 2016
1 parent ce0b367 commit 44deb749c864cea7b55d4ffa6c589de6c4de0776
@@ -1,5 +1,5 @@
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<div id="qunit"></div>
@@ -43,7 +43,8 @@ $(function () {
assert.strictEqual(
points[0].graphic.attr("fill"),
points[4].graphic.attr("fill"),
"The same hover color for positive ant negative bars")
"The same hover color for positive and negative bars"
);
});
});
@@ -23,7 +23,7 @@ $(function () {
assert.strictEqual(
image.box.element.getAttribute('fill'),
null,
'none',
'No fill for image'
);
@@ -133,10 +133,10 @@ function getHTML($which) {
$_SESSION['html'] = $issueHTML;
if (strstr($s, 'http://')) {
$s .= "<script>console.warn('Do not use http in demo.html. Use secure https. ($path)')</script>";
$s .= "<script>throw 'Do not use http in demo.html. Use secure https. ($path)';</script>";
}
if (strstr($s, '.src.js')) {
$s .= "<script>console.warn('Do not use src.js files in demos. Use .js compiled files. ($path)')</script>";
$s .= "<script>throw 'Do not use src.js files in demos. Use .js compiled files. ($path)';</script>";
}
$s = cachify($s);

0 comments on commit 44deb74

Please sign in to comment.