mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:56:45 +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) {
|
static QScriptValue createRandomScriptValue(bool complex = false) {
|
||||||
scriptObjectsCreated++;
|
scriptObjectsCreated++;
|
||||||
switch (randIntInRange(0, complex ? 5 : 2)) {
|
switch (randIntInRange(0, complex ? 5 : 3)) {
|
||||||
case 0:
|
case 0:
|
||||||
return QScriptValue(QScriptValue::NullValue);
|
return QScriptValue(QScriptValue::NullValue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue