diff options
Diffstat (limited to 'tests/client/modeltest.cpp')
-rw-r--r-- | tests/client/modeltest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp index 0aa4b52..bc5d95e 100644 --- a/tests/client/modeltest.cpp +++ b/tests/client/modeltest.cpp @@ -231,6 +231,12 @@ private Q_SLOTS: QCOMPARE(v.type(), QVariant::String); QCOMPARE(v.toString(), QString("dança")); + // Tuple + v = extra["tuple"]; + QVariantList lst; + lst << "1" << 2 << 3.3; + QCOMPARE(v.type(), QVariant::List); + QCOMPARE(v.toList(), lst); } /* |