From 2cde8e5fdc97489c0dae5e3f8acf6036229ec343 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 20 Oct 2006 01:04:51 +0000 Subject: Unit test fixes for collection classes due to implementation of Countable interface. --- tests/unit/Collections/TMapTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/Collections/TMapTest.php') 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'])); } -- cgit v1.2.3