summaryrefslogtreecommitdiffstats
path: root/tests/Components/ExpressionArrayTest.php
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2017-12-14 22:13:37 -0200
committerGabriel Caruso <carusogabriel34@gmail.com>2017-12-14 22:13:37 -0200
commit768a0d74909f11939a9abda851db62bafedafff9 (patch)
tree8ad8106c41f3a5534c149c2ede12f247e905ecfb /tests/Components/ExpressionArrayTest.php
parentacd10db572bf25c6b939311ea4bd954129b4c9ef (diff)
downloadsql-parser-768a0d74909f11939a9abda851db62bafedafff9.zip
sql-parser-768a0d74909f11939a9abda851db62bafedafff9.tar.gz
sql-parser-768a0d74909f11939a9abda851db62bafedafff9.tar.bz2
Refactoring tests
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);
}
}