Bug 1543841 - Remove newlines for the #content and #test nodes in `./mach addtest` templates r=heycam
authorBrian Grinstead <bgrinstead@mozilla.com>
Fri, 12 Apr 2019 05:04:50 +0000
changeset 469291 56e1556e963dc8854cba358e4d6d848f03f599f7
parent 469290 e3828f221fd4709878ac7f10863d4afc85c1c062
child 469292 e3539a40afdf5a4a7848edb5d01ffd253966ba75
push id112780
push userbtara@mozilla.com
push dateFri, 12 Apr 2019 22:09:00 +0000
treeherdermozilla-inbound@bb72c0829808 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1543841
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1543841 - Remove newlines for the #content and #test nodes in `./mach addtest` templates r=heycam Differential Revision: https://phabricator.services.mozilla.com/D27188
testing/mochitest/static/chromehtml.template.txt
testing/mochitest/static/chromexhtml.template.txt
testing/mochitest/static/plainhtml.template.txt
testing/mochitest/static/plainxhtml.template.txt
--- a/testing/mochitest/static/chromehtml.template.txt
+++ b/testing/mochitest/static/chromehtml.template.txt
@@ -9,15 +9,12 @@
   <script>
     add_task(async function test_TODO() {
       ok(true, "TODO: implement the test");
     });
   </script>
 </head>
 <body>
 <p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-</pre>
+<div id="content" style="display: none"></div>
+<pre id="test"></pre>
 </body>
 </html>
--- a/testing/mochitest/static/chromexhtml.template.txt
+++ b/testing/mochitest/static/chromexhtml.template.txt
@@ -9,15 +9,12 @@
   <script><![CDATA[
     add_task(async function test_TODO() {
       ok(true, "TODO: implement the test");
     });
   ]]></script>
 </head>
 <body>
 <p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-</pre>
+<div id="content" style="display: none"></div>
+<pre id="test"></pre>
 </body>
 </html>
--- a/testing/mochitest/static/plainhtml.template.txt
+++ b/testing/mochitest/static/plainhtml.template.txt
@@ -6,15 +6,12 @@
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
   <script>
     ok(true, "TODO: implement the test");
   </script>
 </head>
 <body>
 <p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-</pre>
+<div id="content" style="display: none"></div>
+<pre id="test"></pre>
 </body>
 </html>
--- a/testing/mochitest/static/plainxhtml.template.txt
+++ b/testing/mochitest/static/plainxhtml.template.txt
@@ -6,15 +6,12 @@
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
   <script><![CDATA[
     ok(true, "TODO: implement the test");
   ]]></script>
 </head>
 <body>
 <p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-</pre>
+<div id="content" style="display: none"></div>
+<pre id="test"></pre>
 </body>
 </html>