Bug 781116 - "finished in a non-clean fashion" message should use error() instead of log(); r=ted

This commit is contained in:
Ms2ger 2012-08-09 09:11:33 +02:00
Родитель 803578e620
Коммит 3cd194931f
1 изменённых файлов: 4 добавлений и 4 удалений

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

@ -425,10 +425,10 @@ TestRunner.testFinished = function(tests) {
function runNextTest() {
if (TestRunner.currentTestURL != TestRunner.getLoadedTestURL()) {
TestRunner.log("TEST-UNEXPECTED-FAIL | " +
TestRunner.currentTestURL +
" | finished in a non-clean fashion (in " +
TestRunner.getLoadedTestURL() + ")");
TestRunner.error("TEST-UNEXPECTED-FAIL | " +
TestRunner.currentTestURL +
" | finished in a non-clean fashion (in " +
TestRunner.getLoadedTestURL() + ")");
tests.push({ result: false });
}