mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 13:12:40 +02:00
Might as well include strings in the "simple" random script objects.
This commit is contained in:
parent
3293ab788b
commit
d1549b00ab
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static TestSharedObjectA::TestFlags getRandomTestFlags() {
|
|||
|
||||
static QScriptValue createRandomScriptValue(bool complex = false) {
|
||||
scriptObjectsCreated++;
|
||||
switch (randIntInRange(0, complex ? 5 : 2)) {
|
||||
switch (randIntInRange(0, complex ? 5 : 3)) {
|
||||
case 0:
|
||||
return QScriptValue(QScriptValue::NullValue);
|
||||
|
||||
|
|
Loading…
Reference in a new issue