aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testabstractmetatype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testabstractmetatype.cpp')
-rw-r--r--tests/testabstractmetatype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testabstractmetatype.cpp b/tests/testabstractmetatype.cpp
index 17e5278a9..ed39ebc3b 100644
--- a/tests/testabstractmetatype.cpp
+++ b/tests/testabstractmetatype.cpp
@@ -38,7 +38,7 @@ void TestAbstractMetaType::testConstCharPtrType()
AbstractMetaType* rtype = func->type();
// Test properties of const char*
QVERIFY(rtype);
- QCOMPARE(rtype->package(), QString());
+ QCOMPARE(rtype->package(), QString("Foo"));
QCOMPARE(rtype->name(), QString("char"));
QVERIFY(rtype->isConstant());
QVERIFY(!rtype->isArray());
@@ -107,7 +107,7 @@ void TestAbstractMetaType::testCharType()
AbstractMetaType* rtype = func->type();
// Test properties of const char*
QVERIFY(rtype);
- QCOMPARE(rtype->package(), QString());
+ QCOMPARE(rtype->package(), QString("Foo"));
QCOMPARE(rtype->name(), QString("char"));
QVERIFY(!rtype->isConstant());
QVERIFY(!rtype->isArray());