aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-10-18 12:06:35 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-10-18 12:06:35 +0200
commit894fbb91c8fa95e696fc45364f8ffda76417427e (patch)
tree8b915194bea722f6048f179d6bfe0118f2567253 /tests/client
parentc3b68232c33ee5ef53e58624024192f78f8337a0 (diff)
downloadqmenumodel-894fbb91c8fa95e696fc45364f8ffda76417427e.tar.gz
qmenumodel-894fbb91c8fa95e696fc45364f8ffda76417427e.tar.bz2
qmenumodel-894fbb91c8fa95e696fc45364f8ffda76417427e.zip
convertertest: use better variant map test
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/convertertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/convertertest.cpp b/tests/client/convertertest.cpp
index 6f0f949..fe70840 100644
--- a/tests/client/convertertest.cpp
+++ b/tests/client/convertertest.cpp
@@ -149,7 +149,7 @@ private Q_SLOTS:
void testMapToGVariant()
{
// Map
- QVERIFY(compare(QVariantMap(), G_VARIANT_TYPE_VARDICT));
+ QVERIFY(compare(QVariantMap({{"fooBar", 0xdeadbeef}}), G_VARIANT_TYPE_VARDICT));
}
void testTupleConversion()