FlitchTest\Rule\Line\MaxLengthTest::testHandlingOfTabs PHP Метод

testHandlingOfTabs() публичный Метод

public testHandlingOfTabs ( )
    public function testHandlingOfTabs()
    {
        $file = new File('foo.php', "<?php\n//" . str_repeat('\\t', 75));
        $rule = new MaxLength();
        $rule->visitFile($file);
        $this->assertRuleViolations($file, array(array('line' => 2, 'column' => 0, 'message' => 'Line is longer than 80 characters', 'source' => 'Flitch\\Line\\MaxLength')));
    }