You are here

function CoderReviewStyleTest::testStyleTabs in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/tests/coder_review_style.test \CoderReviewStyleTest::testStyleTabs()

File

coder_review/tests/coder_review_style.test, line 29

Class

CoderReviewStyleTest

Code

function testStyleTabs() {
  $this
    ->assertCoderReviewPass('// Tab in	comment');
  $this
    ->assertCoderReviewPass('$var = "tab in	double quote"');
  $this
    ->assertCoderReviewPass('$var = \'tab in	single quote\'');
  $this
    ->assertCoderReviewFail('	$var = "tab in line";');
}