You are here

function CoderReviewCommentTest::testGeneralCommentStyle in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/tests/coder_review_comment.test \CoderReviewCommentTest::testGeneralCommentStyle()

File

coder_review/tests/coder_review_comment.test, line 28

Class

CoderReviewCommentTest

Code

function testGeneralCommentStyle() {
  $this
    ->assertCoderReviewPass($this->comment_header . "/**\n * Comment.\n");
  $this
    ->assertCoderReviewFail($this->comment_header . "/**\n* Comment.\n");
  $this
    ->assertCoderReviewFail($this->comment_header . "/**\n *Comment.\n");
}