parse(); $this->assertTrue($result); $errors = $parser->get_errors(); $this->assertEquals(count($errors), 2); $this->assertEquals($errors[0]->get_line(), 1); $this->assertEquals($errors[0]->get_skipped_content(), "@skrew-me {text: xxx;\n}"); $this->assertEquals($errors[1]->get_line(), 3); $this->assertEquals($errors[1]->get_skipped_content(), ";"); } } ?>