diff options
Diffstat (limited to 'tests/Fragments/LimitKeywordTest.php')
-rw-r--r-- | tests/Fragments/LimitKeywordTest.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/Fragments/LimitKeywordTest.php b/tests/Fragments/LimitKeywordTest.php index f26d871..ff97cf0 100644 --- a/tests/Fragments/LimitKeywordTest.php +++ b/tests/Fragments/LimitKeywordTest.php @@ -21,4 +21,20 @@ class LimitKeywordTest extends TestCase $fragment = new LimitKeyword(1, 2); $this->assertEquals(LimitKeyword::build($fragment), '2, 1'); } + + /** + * @dataProvider testParseProvider + */ + public function testParse($test) + { + $this->runParserTest($test); + } + + public function testParseProvider() + { + return array( + array('parseLimitErr1'), + array('parseLimitErr2'), + ); + } } |