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

testComments2() public method

public testComments2 ( )
    public function testComments2()
    {
        $sql = 'SELECT a, /* 
                            multi line 
                            comment
                        */
                        b 
                    FROM test';
        $p = $this->parser->parse($sql);
        $expected = getExpectedValue(dirname(__FILE__), 'comment2.serialized');
        $this->assertEquals($expected, $p, 'multi line comment');
    }