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 () {