Add test for parsing
This commit is contained in:
parent
aec113c7b7
commit
099be90fba
@ -29,5 +29,12 @@ class Advisor_test extends PHPUnit_Framework_TestCase
|
||||
array('%s% foo', '%s%% foo'),
|
||||
);
|
||||
}
|
||||
|
||||
public function testParse()
|
||||
{
|
||||
$advisor = new Advisor();
|
||||
$parseResult = $this->parseRulesFile();
|
||||
$this->assertEquals($parseResult['errors'], array());
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user