Might as well include strings in the "simple" random script objects.

This commit is contained in:
Andrzej Kapolka 2014-06-09 17:22:44 -07:00
parent 3293ab788b
commit d1549b00ab

View file

@ -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);