mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-25 16:29:05 +00:00
Consider CaseInsensitiveArray an associative array.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace CurlTest;
|
||||
|
||||
use Curl\ArrayUtil;
|
||||
use Curl\CaseInsensitiveArray;
|
||||
|
||||
class ArrayUtilTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testCaseInsensitiveArrayIsArrayAssoc()
|
||||
{
|
||||
$array = new CaseInsensitiveArray();
|
||||
$this->assertTrue(ArrayUtil::isArrayAssoc($array));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user