diff --git a/lib/rules/shorthand-property-no-redundant-values/__tests__/index.js b/lib/rules/shorthand-property-no-redundant-values/__tests__/index.js index d1c22fd17b..307fc0f8eb 100644 --- a/lib/rules/shorthand-property-no-redundant-values/__tests__/index.js +++ b/lib/rules/shorthand-property-no-redundant-values/__tests__/index.js @@ -115,6 +115,8 @@ testRule({ message: messages.rejected('1px 1px', '1px'), line: 1, column: 5, + endLine: 1, + endColumn: 21, }, { code: 'a { margin: 1Px 1pX; }', diff --git a/lib/rules/shorthand-property-no-redundant-values/index.js b/lib/rules/shorthand-property-no-redundant-values/index.js index 889f2436fa..9461044ee5 100644 --- a/lib/rules/shorthand-property-no-redundant-values/index.js +++ b/lib/rules/shorthand-property-no-redundant-values/index.js @@ -12,7 +12,7 @@ const ruleName = 'shorthand-property-no-redundant-values'; const messages = ruleMessages(ruleName, { rejected: (unexpected, expected) => - `Unexpected longhand value '${unexpected}' instead of '${expected}'`, + `Unexpected longhand value "${unexpected}" instead of "${expected}"`, }); const meta = {