function CoderReviewStyleTest::testStyleTabs in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_style.test \CoderReviewStyleTest::testStyleTabs()
File
- coder_review/
tests/ coder_review_style.test, line 29
Class
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";');
}