Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Apr 21, 2024
1 parent fdb31ba commit 345c69f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/OnlyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ public static function twiceDataProvider(): array
static fn($datum): bool => $datum == 1,
true,
],
[
[1, true],
static fn($datum): bool => $datum == 1,
true,
],
[
[1, true, "1"],
static fn($datum): bool => $datum == 1,
false,
],
];
}

Expand Down

0 comments on commit 345c69f

Please sign in to comment.