Add test for parsing

This commit is contained in:
Michal Čihař 2011-08-15 10:38:09 +02:00
parent aec113c7b7
commit 099be90fba

View File

@ -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());
}
}
?>