mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 21:57:26 +02:00
Make StringHash compatible for all versions of PHP 5.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1533 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -9,7 +9,7 @@ class ConfigSchema_StringHashTest extends UnitTestCase
|
||||
'key2' => 'value2'
|
||||
));
|
||||
$this->assertIdentical($hash->getAccessed(), array());
|
||||
$t = $hash['key'];
|
||||
$t = $hash->offsetGet('key');
|
||||
$this->assertIdentical($hash->getAccessed(), array('key' => true));
|
||||
$hash->resetAccessed();
|
||||
$this->assertIdentical($hash->getAccessed(), array());
|
||||
|
Reference in New Issue
Block a user