Skip to content

Commit 6ef3b97

Browse files
committed
Bool Expression test corrections.
1 parent 080852e commit 6ef3b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/WS/Utils/Collections/Functions/Expression/BoolExpressionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public function cases()
1717
[
1818
[1, 2, 3],
1919
BoolExpression::with(function ($element) {
20-
return $element !== 2;
20+
return is_int($element);
2121
})
2222
->or(function ($element) {
23-
return $element !== 77;
23+
return $element === 77;
2424
})
2525
->and(function ($element) {
2626
return in_array($element, [1, 3]);

0 commit comments

Comments
 (0)