|
@@ -13,10 +13,10 @@ |
|
|
block discarded – undo |
|
13
|
13
|
|
|
14
|
14
|
use chillerlan\bbcode\Parser; |
|
15
|
15
|
|
|
16
|
|
-class ParserPregJitTest extends \PHPUnit_Framework_TestCase{ |
|
|
16
|
+class ParserPregJitTest extends \PHPUnit_Framework_TestCase { |
|
17
|
17
|
|
|
18
|
18
|
// this test will most likely throw an error in case pcre.jit=1 |
|
19
|
|
- public function testPregError(){ |
|
|
19
|
+ public function testPregError() { |
|
20
|
20
|
$bbcode = file_get_contents(dirname(__FILE__).'/../bbcode_samples/errors/preg_jit.txt'); |
|
21
|
21
|
(new Parser)->parse($bbcode); |
|
22
|
22
|
} |
Please login to merge, or discard this patch.