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

testComments6() public method

public testComments6 ( )
    public function testComments6()
    {
        $sql = 'SELECT a
                    FROM test
                    ORDER BY -- inline comment in ORDER BY section
                     a DESC';
        $p = $this->parser->parse($sql);
        $expected = getExpectedValue(dirname(__FILE__), 'comment6.serialized');
        $this->assertEquals($expected, $p, 'inline comment in ORDER BY section');
    }