You are here

function CoderStyleTest::testStyleTabs in Coder 6.2

File

tests/coder_style.test, line 30

Class

CoderStyleTest

Code

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