Bug 701632 - Followup fix (pushed without refreshing patch). r=jmaher

This commit is contained in:
Cameron McCormack 2011-11-12 21:52:39 +11:00
Родитель d9e6505ae6
Коммит 987745930e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -135,7 +135,7 @@ Tester.prototype = {
if (this.currentTest)
this.currentTest.addResult(new testResult(false, msg, "", false));
else
this.dumper.dump("TEST-UNEXPECTED-FAIL | (browser-test.js) | " + msg.replace(/\n$/, "") + "\n");
this.dumper.dump("TEST-UNEXPECTED-FAIL | (browser-test.js) | " + msg + "\n");
win.close();
}
@ -188,7 +188,7 @@ Tester.prototype = {
if (this.currentTest)
this.currentTest.addResult(new testMessage(msg));
else
this.dumper.dump("TEST-INFO | (browser-test.js) | " + msg + "\n");
this.dumper.dump("TEST-INFO | (browser-test.js) | " + msg.replace(/\n$/, "") + "\n");
} catch (ex) {
// Swallow exception so we don't lead to another error being reported,
// throwing us into an infinite loop