Commit e22aa772 authored by Victor Porof's avatar Victor Porof
Browse files

Bug 1561435 - Fix test failures for devtools/client/, r=standard8

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35889

--HG--
extra : source : b0c4a5ceaa806c7eb0b80373bad03952a8e8e615
extra : intermediate-source : bc3217f46831d07aba771b9f19373190d2122894
parent 56ef3d56
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -25,18 +25,10 @@ function reportErrorAndQuit(error) {
function runTests(sw) {
  const sp = sw.Scratchpad;

  /* eslint-disable brace-style */
  const foo =
    "" +
    function main() {
      console.log(1);
    };
  const bar =
    "var bar = " +
    (() => {
      console.log(2);
    });
  /* eslint-enable brace-style */
  // prettier-ignore
  const foo = "" + function main() { console.log(1); };
  // prettier-ignore
  const bar = "var bar = " + (() => { console.log(2); });

  const fullText = foo + "\n" + "\n" + bar + "\n";