Bug 1256941 - Fix ESLint issues in devtools/client/webconsole/test/test-file-location.js;r=bgrins

MozReview-Commit-ID: VOMcoAjl5y
This commit is contained in:
katecastellano 2016-10-29 11:12:50 +02:00
Родитель 76890e1ed3
Коммит 72f476966b
2 изменённых файлов: 7 добавлений и 5 удалений

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

@ -27,31 +27,31 @@ add_task(function* () {
text: "message for level log",
category: CATEGORY_WEBDEV,
severity: SEVERITY_LOG,
source: { url: "test-file-location.js", line: 6 },
source: { url: "test-file-location.js", line: 8 },
},
{
text: "message for level info",
category: CATEGORY_WEBDEV,
severity: SEVERITY_INFO,
source: { url: "test-file-location.js", line: 7 },
source: { url: "test-file-location.js", line: 9 },
},
{
text: "message for level warn",
category: CATEGORY_WEBDEV,
severity: SEVERITY_WARNING,
source: { url: "test-file-location.js", line: 8 },
source: { url: "test-file-location.js", line: 10 },
},
{
text: "message for level error",
category: CATEGORY_WEBDEV,
severity: SEVERITY_ERROR,
source: { url: "test-file-location.js", line: 9 },
source: { url: "test-file-location.js", line: 11 },
},
{
text: "message for level debug",
category: CATEGORY_WEBDEV,
severity: SEVERITY_LOG,
source: { url: "test-file-location.js", line: 10 },
source: { url: "test-file-location.js", line: 12 },
}],
});
});

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

@ -3,6 +3,8 @@
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
console.log("message for level log");
console.info("message for level info");
console.warn("message for level warn");