composer update
This commit is contained in:
@@ -8,7 +8,9 @@ class HighlighterTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
protected function getConsoleColorMock()
|
||||
{
|
||||
$mock = $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor');
|
||||
$mock = method_exists($this, 'createMock')
|
||||
? $this->createMock('\JakubOnderka\PhpConsoleColor\ConsoleColor')
|
||||
: $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor');
|
||||
|
||||
$mock->expects($this->any())
|
||||
->method('apply')
|
||||
@@ -260,4 +262,13 @@ EOL
|
||||
''
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function testWhitespace()
|
||||
{
|
||||
$this->compare(
|
||||
' '
|
||||
,
|
||||
'<token_html> </token_html>'
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$loader = require_once __DIR__ . '/../vendor/autoload.php';
|
||||
Reference in New Issue
Block a user