From 72f476966b1691a503bbf46a8e71defde7a9fb95 Mon Sep 17 00:00:00 2001 From: katecastellano Date: Sat, 29 Oct 2016 11:12:50 +0200 Subject: [PATCH] Bug 1256941 - Fix ESLint issues in devtools/client/webconsole/test/test-file-location.js;r=bgrins MozReview-Commit-ID: VOMcoAjl5y --- ...wser_webconsole_bug_646025_console_file_location.js | 10 +++++----- devtools/client/webconsole/test/test-file-location.js | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js index db65f9bda29d..81573e56fe0d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js @@ -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 }, }], }); }); diff --git a/devtools/client/webconsole/test/test-file-location.js b/devtools/client/webconsole/test/test-file-location.js index 7c5eaf321cf2..d9879a356574 100644 --- a/devtools/client/webconsole/test/test-file-location.js +++ b/devtools/client/webconsole/test/test-file-location.js @@ -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");