diff options
author | knut <> | 2007-05-30 13:40:40 +0000 |
---|---|---|
committer | knut <> | 2007-05-30 13:40:40 +0000 |
commit | e0a78b3aaf9b5d70ce70999ed3cabda8a793067c (patch) | |
tree | c6df4b7aec56f3e52e175854735447fbf205c33d /tests/unit/Collections | |
parent | 1e09d721ec541df81de68989eed42c7b72ce8d7c (diff) |
corrected Countable test on TStack
Diffstat (limited to 'tests/unit/Collections')
-rw-r--r-- | tests/unit/Collections/TStackTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } } |