mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Avoid crash in testqgsexpression.cpp
This commit is contained in:
parent
ec55161866
commit
f8bda8dbfc
@ -1096,6 +1096,9 @@ class TestQgsExpression: public QObject
|
||||
case QVariant::Time:
|
||||
QCOMPARE( result.toTime(), expected.toTime() );
|
||||
break;
|
||||
case QVariant::List:
|
||||
QCOMPARE( result.toList(), expected.toList() );
|
||||
break;
|
||||
case QVariant::UserType:
|
||||
{
|
||||
if ( result.userType() == qMetaTypeId<QgsInterval>() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user