getEngine()->getInterpreter(); $interpreter->callFunction( $interpreter->loadString( ' local ustring = require( "ustring" ) ustring.maxStringLength = mw.ustring.maxStringLength ustring.maxPatternLength = mw.ustring.maxPatternLength mw.ustring = ustring ', 'fortest' ) ); } /** * @dataProvider providePCREErrors */ public function testPCREErrors( $ini, $args, $error ) { // Not applicable $this->assertTrue( true ); } public static function providePCREErrors() { return [ [ [], [], null ], ]; } }