summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TStackTest.php
diff options
context:
space:
mode:
authorknut <>2007-05-30 13:40:40 +0000
committerknut <>2007-05-30 13:40:40 +0000
commite0a78b3aaf9b5d70ce70999ed3cabda8a793067c (patch)
treec6df4b7aec56f3e52e175854735447fbf205c33d /tests/unit/Collections/TStackTest.php
parent1e09d721ec541df81de68989eed42c7b72ce8d7c (diff)
corrected Countable test on TStack
Diffstat (limited to 'tests/unit/Collections/TStackTest.php')
-rw-r--r--tests/unit/Collections/TStackTest.php4
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));
}
}