Skip to content

Commit 6e0bc93

Browse files
authored
Add 'fill' test
1 parent c57e194 commit 6e0bc93

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ describe('postcss-colors-only', function () {
237237
done
238238
);
239239
});
240+
241+
it('should extract fill.', function (done) {
242+
test(
243+
'svg { fill: red; } p { display: block; }',
244+
['red'],
245+
{},
246+
done
247+
);
248+
});
240249

241250
it('should omit grey, but not black or white.', function (done) {
242251
test(

0 commit comments

Comments
 (0)