From d8ea444cb7a17f52db45a2a434de974d40fc3927 Mon Sep 17 00:00:00 2001 From: Peter Scopes Date: Fri, 11 May 2018 12:45:49 +0100 Subject: [PATCH] Fixed commit error in ArrTest --- tests/Unit/ArrTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Unit/ArrTest.php b/tests/Unit/ArrTest.php index a049ccd..3dc220f 100644 --- a/tests/Unit/ArrTest.php +++ b/tests/Unit/ArrTest.php @@ -282,6 +282,9 @@ public function testFindCallable() $this->assertEquals('value 2', Arr::find($array, function ($item, $key) { return $key === 'two'; })); $this->assertEquals('value 3', Arr::find($array, function ($item, $key) { return $key === 'three'; })); + $this->assertNull(Arr::find($array, function ($item, $key) { return $key === 'four'; })); + } + public function testLocate() { $shallow = [