Try less trailing newlines
diff --git a/old-tests/submission/Microsoft/selection/collapseToEnd.htm b/old-tests/submission/Microsoft/selection/collapseToEnd.htm
index ba766c4..3a93d52 100644
--- a/old-tests/submission/Microsoft/selection/collapseToEnd.htm
+++ b/old-tests/submission/Microsoft/selection/collapseToEnd.htm
@@ -16,7 +16,7 @@
selection.addRange(range);
checkSelectionAttributes(document.body, 1, document.body, 2, false, 1);
- assert_equals(selection.toString(), p1.textContent + "\n\n");
+ assert_equals(selection.toString(), p1.textContent);
selection.collapseToEnd();
diff --git a/old-tests/submission/Microsoft/selection/collapseToStart.htm b/old-tests/submission/Microsoft/selection/collapseToStart.htm
index 5df4f71..d24cbae 100644
--- a/old-tests/submission/Microsoft/selection/collapseToStart.htm
+++ b/old-tests/submission/Microsoft/selection/collapseToStart.htm
@@ -16,7 +16,7 @@
selection.addRange(range);
checkSelectionAttributes(document.body, 1, document.body, 2, false, 1);
- assert_equals(selection.toString(), p1.textContent + "\n\n");
+ assert_equals(selection.toString(), p1.textContent);
selection.collapseToStart();
diff --git a/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm b/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm
index c2b227a..4ac8702 100644
--- a/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm
+++ b/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm
@@ -13,14 +13,14 @@
range.selectNode(div1);
selection.addRange(range);
- assert_equals(selection.toString(), "some text\n");
+ assert_equals(selection.toString(), "some text");
var ele = document.createElement("div");
var tNode = document.createTextNode("new text");
ele.appendChild(tNode);
div1.appendChild(ele);
- assert_equals(selection.toString(), "some text\nnew text\n");
+ assert_equals(selection.toString(), "some text\nnew text");
}
</script>
</head>
diff --git a/old-tests/submission/Microsoft/selection/removeAllRanges.htm b/old-tests/submission/Microsoft/selection/removeAllRanges.htm
index 21edcbd..85d6211 100644
--- a/old-tests/submission/Microsoft/selection/removeAllRanges.htm
+++ b/old-tests/submission/Microsoft/selection/removeAllRanges.htm
@@ -16,7 +16,7 @@
selection.addRange(range);
checkSelectionAttributes(document.body, 1, document.body, 2, false, 1);
- assert_equals(selection.toString(), p1.textContent + "\n\n");
+ assert_equals(selection.toString(), p1.textContent);
selection.removeAllRanges();
diff --git a/old-tests/submission/Microsoft/selection/removeRange.htm b/old-tests/submission/Microsoft/selection/removeRange.htm
index ac363a1..8786e82 100644
--- a/old-tests/submission/Microsoft/selection/removeRange.htm
+++ b/old-tests/submission/Microsoft/selection/removeRange.htm
@@ -16,7 +16,7 @@
selection.addRange(range);
checkSelectionAttributes(document.body, 1, document.body, 2, false, 1);
- assert_equals(selection.toString(), p1.textContent + "\n\n");
+ assert_equals(selection.toString(), p1.textContent);
selection.removeRange(range);