From e0a78b3aaf9b5d70ce70999ed3cabda8a793067c Mon Sep 17 00:00:00 2001 From: knut <> Date: Wed, 30 May 2007 13:40:40 +0000 Subject: corrected Countable test on TStack --- tests/unit/Collections/TStackTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unit/Collections/TStackTest.php b/tests/unit/Collections/TStackTest.php index d9cf5fa7..e4c4e5d1 100644 --- a/tests/unit/Collections/TStackTest.php +++ b/tests/unit/Collections/TStackTest.php @@ -121,9 +121,9 @@ class TStackTest extends PHPUnit_Framework_TestCase { public function testCount() { $stack = new TStack(); - self::assertEquals(0, $stack->count()); + self::assertEquals(0, count($stack)); $stack = new TStack(array(1, 2, 3)); - self::assertEquals(3, $stack->count()); + self::assertEquals(3, count($stack)); } } -- cgit v1.2.3