function CoderReviewStyleTest::testShellComment in Coder 7.2
Tests for the correct detection of shell comments.
File
- coder_review/
tests/ coder_review_style.test, line 172
Class
- CoderReviewStyleTest
- Class to test for the style of the required Drupal coding standards.
Code
function testShellComment() {
$this
->assertCoderReviewPass("# Shell Comment.\n");
$this
->assertCoderReviewPass("\$a = '# Not a Shell Comment.'\n");
}