Skip to content

Commit a7e8733

Browse files
committed
add test
1 parent 8a49be4 commit a7e8733

File tree

1 file changed

+4
-0
lines changed
  • lib/rules/shorthand-property-no-redundant-values/__tests__

1 file changed

+4
-0
lines changed

lib/rules/shorthand-property-no-redundant-values/__tests__/index.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ testRule({
8989
code: 'a { border-radius: var(--foo) var(--foo) / var(--foo) var(--foo); }',
9090
description: 'ignore variables with slash in shorthand',
9191
},
92+
{
93+
code: 'a { border-radius: 1px 1px , 1px 1px; }',
94+
description: 'ignore invalid divider in border-radius (comma)',
95+
},
9296
{
9397
code: 'a { border-color: #FFFFFF transparent transparent; }',
9498
description: 'ignore upper case value',

0 commit comments

Comments
 (0)