@@ -48,9 +48,9 @@ public function testCopy()
4848 }
4949
5050 /**
51- * @dataProvider providerDiffAssocRecursive
51+ * @dataProvider providerDiffDeep
5252 */
53- public function testDiffAssocRecursive ($ argsAndExpect )
53+ public function testDiffDeep ($ argsAndExpect )
5454 {
5555 $ argsAndExpect = \func_get_args ();
5656 $ expect = \array_pop ($ argsAndExpect );
@@ -62,7 +62,7 @@ public function testDiffAssocRecursive($argsAndExpect)
6262 }
6363 self ::assertSame (
6464 $ expect ,
65- \call_user_func_array ('bdk\Debug\Utility\ArrayUtil::diffAssocRecursive ' , $ argsAndExpect )
65+ \call_user_func_array ('bdk\Debug\Utility\ArrayUtil::diffDeep ' , $ argsAndExpect )
6666 );
6767 }
6868
@@ -325,7 +325,7 @@ public function testSpliceAssoc($array, $key, $length, $replace, $expectReturn,
325325 self ::assertSame ($ expectArray , $ array , 'updated array not as expected ' );
326326 }
327327
328- public static function providerDiffAssocRecursive ()
328+ public static function providerDiffDeep ()
329329 {
330330 return array (
331331 'test1 ' => array (
@@ -359,7 +359,7 @@ public static function providerDiffAssocRecursive()
359359 array (
360360 'colors ' => array (
361361 'b ' => 'brown ' ,
362- 'red ' ,
362+ // 'red',
363363 ),
364364 ),
365365 ),
@@ -370,7 +370,7 @@ public static function providerDiffAssocRecursive()
370370 false ,
371371 array (
372372 'expectException ' => 'InvalidArgumentException ' ,
373- 'expectExceptionMessage ' => 'bdk\Debug\Utility\ArrayUtil::diffAssocRecursive (): $array2 expects array. bool provided ' ,
373+ 'expectExceptionMessage ' => 'bdk\Debug\Utility\ArrayUtil::diffDeep (): $array2 expects array. bool provided ' ,
374374 ),
375375 ),
376376 );
0 commit comments