diff options
author | Michal Čihař <michal@cihar.com> | 2017-12-15 08:04:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 08:04:48 +0100 |
commit | 0f8d79b722b63d68b093aa7c17584b183d58e8cf (patch) | |
tree | 8ad8106c41f3a5534c149c2ede12f247e905ecfb /tests/Components/ExpressionArrayTest.php | |
parent | acd10db572bf25c6b939311ea4bd954129b4c9ef (diff) | |
parent | 768a0d74909f11939a9abda851db62bafedafff9 (diff) | |
download | sql-parser-0f8d79b722b63d68b093aa7c17584b183d58e8cf.zip sql-parser-0f8d79b722b63d68b093aa7c17584b183d58e8cf.tar.gz sql-parser-0f8d79b722b63d68b093aa7c17584b183d58e8cf.tar.bz2 |
Merge pull request #183 from carusogabriel/refactoring-tests
Refactoring tests
Diffstat (limited to 'tests/Components/ExpressionArrayTest.php')
-rw-r--r-- | tests/Components/ExpressionArrayTest.php | 2 |
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); } } |