Commit 54079474 authored by moshe weitzman's avatar moshe weitzman

Simplify assertions in Drush tests.

parent e56389fe
......@@ -19,7 +19,7 @@ class develCase extends Drush_CommandTestCase {
$this->drush('fn-view', array('drush_main'), $options);
$output = $this->getOutput();
$this->assertTrue((bool)strpos($output, '@return'), 'Output contain @return Doxygen.');
$this->assertTrue((bool)strpos($output, 'function drush_main() {'), 'Output contains function drush_main() declaration');
$this->assertContains('@return', $output, 'Output contain @return Doxygen.');
$this->assertContains('function drush_main() {', $output, 'Output contains function drush_main() declaration');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment