summaryrefslogtreecommitdiffstats
path: root/tests/Components/ExpressionArrayTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Components/ExpressionArrayTest.php')
-rw-r--r--tests/Components/ExpressionArrayTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Components/ExpressionArrayTest.php b/tests/Components/ExpressionArrayTest.php
index 2c5527d..cd413ac 100644
--- a/tests/Components/ExpressionArrayTest.php
+++ b/tests/Components/ExpressionArrayTest.php
@@ -29,7 +29,7 @@ class ExpressionArrayTest extends TestCase
'parenthesesDelimited' => true,
)
);
- $this->assertEquals(1, count($component));
+ $this->assertCount(1, $component);
$this->assertEquals('(expr)', $component[0]->expr);
}
}