summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiza Pagliari <lpagliari@gmail.com>2017-02-20 06:14:27 -0300
committerLuiza Pagliari <lpagliari@gmail.com>2017-02-20 06:14:27 -0300
commit2b96a961e3bb70cf574c9248eda16f460809e571 (patch)
tree984cedf0aa1e776b3b0f381a29f7835a14f1d6a0
parent15cda0fde6b3b5794b26331f36ab04413be0ee0e (diff)
downloadetherpad-lite-2b96a961e3bb70cf574c9248eda16f460809e571.zip
[fix] Remove extra whitespace on helper tests for IE
-rw-r--r--tests/frontend/specs/helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/specs/helper.js b/tests/frontend/specs/helper.js
index 863f7a92..8520769a 100644
--- a/tests/frontend/specs/helper.js
+++ b/tests/frontend/specs/helper.js
@@ -103,7 +103,7 @@ describe("the test helper", function(){
return text
// IE replaces line breaks with a whitespace, so we need to unify its behavior
// for other browsers, to have all tests running for all browsers
- .replace(/\n/gi, " ")
+ .replace(/\n/gi, "")
.replace(/\s/gi, " ");
}