[fix] Remove extra whitespace on helper tests for IE

pull/3141/head
Luiza Pagliari 2017-02-20 06:14:27 -03:00
parent 15cda0fde6
commit 2b96a961e3
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ describe("the test helper", function(){
return text return text
// IE replaces line breaks with a whitespace, so we need to unify its behavior // 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 // for other browsers, to have all tests running for all browsers
.replace(/\n/gi, " ") .replace(/\n/gi, "")
.replace(/\s/gi, " "); .replace(/\s/gi, " ");
} }