summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TMapTest.php
diff options
context:
space:
mode:
authorxue <>2006-10-20 01:04:51 +0000
committerxue <>2006-10-20 01:04:51 +0000
commit2cde8e5fdc97489c0dae5e3f8acf6036229ec343 (patch)
tree7e2fca2d7d2ca194a300eb3320d953aed37b3131 /tests/unit/Collections/TMapTest.php
parent3b827980972fa2bb1cfdf7aaf2dadd94012a2ab1 (diff)
Unit test fixes for collection classes due to implementation of Countable interface.
Diffstat (limited to 'tests/unit/Collections/TMapTest.php')
-rw-r--r--tests/unit/Collections/TMapTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Collections/TMapTest.php b/tests/unit/Collections/TMapTest.php
index af92fd6a..f7661afd 100644
--- a/tests/unit/Collections/TMapTest.php
+++ b/tests/unit/Collections/TMapTest.php
@@ -146,7 +146,7 @@ class TMapTest extends PHPUnit2_Framework_TestCase {
public function testArrayMisc()
{
- $this->assertEquals(1,count($this->map));
+ $this->assertEquals($this->map->Count,count($this->map));
$this->assertTrue(isset($this->map['key1']));
$this->assertFalse(isset($this->map['unknown key']));
}