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

testComments7() public method

public testComments7 ( )
    public function testComments7()
    {
        $sql = 'INSERT INTO a (id) -- inline comment in INSERT section
                    VALUES (1)';
        $p = $this->parser->parse($sql);
        $expected = getExpectedValue(dirname(__FILE__), 'comment7.serialized');
        $this->assertEquals($expected, $p, 'inline comment in INSERT section');
    }