summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}
}