Skip to content

Commit

Permalink
#44 - minor CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 18, 2014
1 parent 162518e commit 3aa37ec
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/Doctrine/Tests/Common/Annotations/DocLexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,15 @@ public function testScannerTokenizesDocBlockWhitInvalidIdentifier()

$this->assertFalse($lexer->moveNext());
}

public function testWithinDoubleQuotesVeryVeryLongString()
{
$lexer = new DocLexer();

for($i = 0, $buffer_size = 0; $i < 10; $i++, $buffer_size += 1024){

$docblock = '"' . str_repeat('.', $buffer_size) . '"';

$lexer->setInput($docblock); // Dead yet ?
$this->assertTrue(true);
for($i = 0, $bufferSize = 0; $i < 10; $i++, $bufferSize += 1024){
$lexer->setInput('"' . str_repeat('.', $bufferSize) . '"'); // Dead yet ?
}
}

$this->assertTrue(true);
}
}

0 comments on commit 3aa37ec

Please sign in to comment.