Bug 1399028 - fix assert messages in browser_theme.js test;r=gl draft
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 12 Sep 2017 15:30:54 +0200
changeset 663315 6b08711f54488846040566f3b6f164dd2b6ab31b
parent 663313 855311dfb77a49d2640d00ad8a239d14cfaee3b5
child 731166 40e5f14d7992112d49f94aab9a7c6bc410754574
push id79396
push userjdescottes@mozilla.com
push dateTue, 12 Sep 2017 21:35:23 +0000
reviewersgl
bugs1399028
milestone57.0a1
Bug 1399028 - fix assert messages in browser_theme.js test;r=gl MozReview-Commit-ID: 6RI0FNVIWsv
devtools/client/shared/test/browser_theme.js
--- a/devtools/client/shared/test/browser_theme.js
+++ b/devtools/client/shared/test/browser_theme.js
@@ -96,12 +96,12 @@ function testColorExistence() {
     "comment", "body-color", "body-color-alt", "content-color1", "content-color2",
     "content-color3", "highlight-green", "highlight-blue", "highlight-bluegrey",
     "highlight-purple", "highlight-lightorange", "highlight-orange", "highlight-red",
     "highlight-pink"
   ];
 
   for (let type of vars) {
     ok(getColor(type, "light"), `${type} is a valid color in light theme`);
-    ok(getColor(type, "dark"), `${type} is a valid color in light theme`);
-    ok(getColor(type, "firebug"), `${type} is a valid color in light theme`);
+    ok(getColor(type, "dark"), `${type} is a valid color in dark theme`);
+    ok(getColor(type, "firebug"), `${type} is a valid color in firebug theme`);
   }
 }