diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2017-12-14 22:13:37 -0200 |
---|---|---|
committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2017-12-14 22:13:37 -0200 |
commit | 768a0d74909f11939a9abda851db62bafedafff9 (patch) | |
tree | 8ad8106c41f3a5534c149c2ede12f247e905ecfb /tests/Components/CreateDefinitionTest.php | |
parent | acd10db572bf25c6b939311ea4bd954129b4c9ef (diff) | |
download | sql-parser-768a0d74909f11939a9abda851db62bafedafff9.zip sql-parser-768a0d74909f11939a9abda851db62bafedafff9.tar.gz sql-parser-768a0d74909f11939a9abda851db62bafedafff9.tar.bz2 |
Refactoring tests
Diffstat (limited to 'tests/Components/CreateDefinitionTest.php')
-rw-r--r-- | tests/Components/CreateDefinitionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Components/CreateDefinitionTest.php b/tests/Components/CreateDefinitionTest.php index 57d5add..b14708c 100644 --- a/tests/Components/CreateDefinitionTest.php +++ b/tests/Components/CreateDefinitionTest.php @@ -27,7 +27,7 @@ class CreateDefinitionTest extends TestCase $parser, $this->getTokensList('(str TEXT, FULLTEXT INDEX indx (str)') ); - $this->assertEquals(2, count($component)); + $this->assertCount(2, $component); $this->assertEquals( 'A closing bracket was expected.', |