missing semicolons on tests
This commit is contained in:
@@ -49,7 +49,7 @@ function run() {
|
|||||||
out.innerHTML += "<br/><span style=\"color:red\">Fail (" + a + " not eq " + b + "): " + msg + "<span>";
|
out.innerHTML += "<br/><span style=\"color:red\">Fail (" + a + " not eq " + b + "): " + msg + "<span>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
var text = (new Array(10)).join("foo foo foo <br>"),
|
var text = (new Array(10)).join("foo foo foo <br>"),
|
||||||
content = "<div>" + text + "</div>";
|
content = "<div>" + text + "</div>";
|
||||||
var testName,
|
var testName,
|
||||||
@@ -59,7 +59,7 @@ function run() {
|
|||||||
testName = "Absolute with w&h: ";
|
testName = "Absolute with w&h: ";
|
||||||
var optionAbsDiv ={
|
var optionAbsDiv ={
|
||||||
containerElement: document.getElementById("absoluteDiv")
|
containerElement: document.getElementById("absoluteDiv")
|
||||||
}
|
};
|
||||||
finalSize = OpenLayers.Util.getRenderedDimensions(content, null, optionAbsDiv);
|
finalSize = OpenLayers.Util.getRenderedDimensions(content, null, optionAbsDiv);
|
||||||
t.eq(finalSize.w, initialSize.w,
|
t.eq(finalSize.w, initialSize.w,
|
||||||
testName + "initial width " + initialSize.w + "px is maintained");
|
testName + "initial width " + initialSize.w + "px is maintained");
|
||||||
@@ -77,7 +77,7 @@ function run() {
|
|||||||
testName = "Absolute without w&h: ";
|
testName = "Absolute without w&h: ";
|
||||||
var optionAbsDiv00 ={
|
var optionAbsDiv00 ={
|
||||||
containerElement: document.getElementById("absoluteDiv00")
|
containerElement: document.getElementById("absoluteDiv00")
|
||||||
}
|
};
|
||||||
finalSize = OpenLayers.Util.getRenderedDimensions(content, null, optionAbsDiv00);
|
finalSize = OpenLayers.Util.getRenderedDimensions(content, null, optionAbsDiv00);
|
||||||
t.eq(finalSize.w, initialSize.w,
|
t.eq(finalSize.w, initialSize.w,
|
||||||
testName + "initial width " + initialSize.w + "px is maintained");
|
testName + "initial width " + initialSize.w + "px is maintained");
|
||||||
|
|||||||
Reference in New Issue
Block a user