OSDN Git Service

Remove unused array_shrink_leaves().
[pukiwiki/pukiwiki_sandbox.git] / spam / SpamTest.php
index c45d74d..dea1ca2 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: SpamTest.php,v 1.10 2007/05/05 08:49:10 henoheno Exp $
+// $Id: SpamTest.php,v 1.11 2007/05/05 13:58:39 henoheno Exp $
 // Copyright (C) 2007 heno
 //
 // Design test case for spam.php (called from runner.php)
@@ -181,17 +181,6 @@ class SpamTest extends PHPUnit_TestCase
                $this->assertEquals($result, array_merge_leaves($array1, $array2));
        }
 
-       function testFunc_array_shrink_leaves()
-       {
-               $array  = array('key' => array('key'));
-               $result = array('key');
-               $this->assertEquals($result, array_shrink_leaves($array));
-
-               $array  = array('key' => array('key' => array('key' => array('key'))));
-               $result = array('key');
-               $this->assertEquals($result, array_shrink_leaves($array));
-       }
-
        function testFunc_uri_pickup()
        {
                // 1st argument: Null