PHPSQLParser\Test\Parser\CommentsTest::testComments5 PHP Method

testComments5() public method

public testComments5 ( )
    public function testComments5()
    {
        $sql = 'SELECT a
                    FROM test
                    LIMIT -- inline comment in LIMIT section
                     10';
        $p = $this->parser->parse($sql);
        $expected = getExpectedValue(dirname(__FILE__), 'comment5.serialized');
        $this->assertEquals($expected, $p, 'inline comment in LIMIT section');
    }