From 345c69fa0d66d83a74c44e1a623233d1731389c8 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 22 Apr 2024 06:31:56 +0700 Subject: [PATCH] more tests --- tests/OnlyTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/OnlyTest.php b/tests/OnlyTest.php index 145c2d2..5a9a200 100644 --- a/tests/OnlyTest.php +++ b/tests/OnlyTest.php @@ -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, + ], ]; }