From 3c6c89a6ade4dab9884e78e77dfd49fd85af13c0 Mon Sep 17 00:00:00 2001 From: Morten Harders Date: Tue, 21 May 2024 08:15:32 +0200 Subject: [PATCH] Added test to toBeList --- tests/Features/Expect/toBeList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Features/Expect/toBeList.php b/tests/Features/Expect/toBeList.php index a10115da..095fda9d 100644 --- a/tests/Features/Expect/toBeList.php +++ b/tests/Features/Expect/toBeList.php @@ -5,6 +5,7 @@ use PHPUnit\Framework\ExpectationFailedException; test('pass', function () { expect([1, 2, 3])->toBeList(); expect(['a' => 1, 'b' => 2, 'c' => 3])->not->toBeList(); + expect('1, 2, 3')->not->toBeList(); }); test('failures', function () {