From e4c9e8e311dc09424e4b865f53a0a6fe6872c4e6 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 23 Oct 2006 12:08:11 +0000 Subject: merge from 3.0 branch till 1475. --- tests/unit/Collections/TListTest.php | 2 +- tests/unit/Collections/TMapTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/Collections') diff --git a/tests/unit/Collections/TListTest.php b/tests/unit/Collections/TListTest.php index c9190da6..e090728c 100644 --- a/tests/unit/Collections/TListTest.php +++ b/tests/unit/Collections/TListTest.php @@ -185,7 +185,7 @@ class TListTest extends PHPUnit2_Framework_TestCase { } public function testArrayMisc() { - $this->assertEquals(1,count($this->list)); + $this->assertEquals($this->list->Count,count($this->list)); $this->assertTrue(isset($this->list[1])); $this->assertFalse(isset($this->list[2])); } 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