3require_once __DIR__ .
'/UstringLibraryTest.php';
9 protected function setUp() {
13 $interpreter = $this->
getEngine()->getInterpreter();
14 $interpreter->callFunction(
15 $interpreter->loadString(
'
16 local ustring = require( "ustring" )
17 ustring.maxStringLength = mw.ustring.maxStringLength
18 ustring.maxPatternLength = mw.ustring.maxPatternLength
29 $this->assertTrue(
true );
@coversNothing – Covers Lua code
static providePCREErrors()
testPCREErrors( $ini, $args, $error)
@dataProvider providePCREErrors
@covers Scribunto_LuaUstringLibrary