| 1 | <?php |
||
| 16 | class ParserPregJitTest extends \PHPUnit_Framework_TestCase{ |
||
| 17 | |||
| 18 | // this test will most likely throw an error in case pcre.jit=1 |
||
| 19 | public function testPregError(){ |
||
| 20 | $bbcode = file_get_contents(dirname(__FILE__).'/../bbcode_samples/errors/preg_jit.txt'); |
||
| 21 | (new Parser)->parse($bbcode); |
||
| 22 | } |
||
| 23 | |||
| 24 | } |
||
| 25 |