Bug 1308648 - Fix reference to ./mach devtools-css-db in test_css-properties.js; r?tromey
MozReview-Commit-ID: 7zk80TVehlV
--- a/devtools/shared/tests/unit/test_css-properties-db.js
+++ b/devtools/shared/tests/unit/test_css-properties-db.js
@@ -1,14 +1,14 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Test that the devtool's client-side CSS properties database is in sync with the values
- * on the platform. If they are not, then `mach generate-css-db` needs to be run to
+ * on the platform. If they are not, then `mach devtools-css-db` needs to be run to
* make everything up to date. Nightly, aurora, beta, and release may have different
* preferences for what CSS values are enabled. The static CSS properties database can
* be slightly different from the target platform as long as there is a preference that
* exists that turns off that CSS property.
*/
"use strict";
@@ -18,17 +18,17 @@ const DOMUtils = Components.classes["@mo
const {PSEUDO_ELEMENTS, CSS_PROPERTIES, PREFERENCES} = require("devtools/shared/css/generated/properties-db");
const {generateCssProperties} = require("devtools/server/actors/css-properties");
const { Preferences } = require("resource://gre/modules/Preferences.jsm");
function run_test() {
const propertiesErrorMessage = "If this assertion fails, then the client side CSS " +
"properties list in devtools is out of sync with the " +
"CSS properties on the platform. To fix this " +
- "assertion run `mach generate-css-db` to re-generate " +
+ "assertion run `mach devtools-css-db` to re-generate " +
"the client side properties.";
// Check that the platform and client match for pseudo elements.
deepEqual(PSEUDO_ELEMENTS, DOMUtils.getCSSPseudoElementNames(), `The pseudo elements ` +
`match on the client and platform. ${propertiesErrorMessage}`);
/**
* Check that the platform and client match for the details on their CSS properties.