Skip to content

Commit c75a001

Browse files
committed
Fix warnings from tests
1 parent a9cb699 commit c75a001

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/plugins/blue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = function (css) {
2-
css.eachDecl(function (decl) {
2+
css.walkDecls(function (decl) {
33
if ( decl.value === 'black' ) decl.value = 'blue';
44
});
55
};

test/plugins/red.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
warning = true;
88
}
99

10-
css.eachDecl(function (decl) {
10+
css.walkDecls(function (decl) {
1111
if ( decl.value === 'blue' ) decl.value = 'red';
1212
});
1313
}

0 commit comments

Comments
 (0)