Skip to content

Commit 67fd1e8

Browse files
committed
Add more tests for prefer-both-either
1 parent 6e5879b commit 67fd1e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/prefer-both-either.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ ruleTester.run('prefer-both-either', rule, {
2626
'both(foo, bar)',
2727
'either(foo, bar)',
2828
'allPass([foo, bar, baz])',
29-
'anyPass([foo, bar, baz])'
29+
'anyPass([foo, bar, baz])',
30+
'allPass(predicates)',
31+
'allPass(predicates, foo)',
32+
'anyPass(predicates)',
33+
'anyPass(predicates, foo)'
3034
],
3135
invalid: [
3236
{

0 commit comments

Comments
 (0)