From 894fbb91c8fa95e696fc45364f8ffda76417427e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 18 Oct 2016 12:06:35 +0200 Subject: convertertest: use better variant map test --- tests/client/convertertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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() -- cgit v1.2.3