Skip to content

Commit

Permalink
QCompare is not that flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 10, 2019
1 parent 0319476 commit 0c3540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqobjectuniqueptr.cpp
Expand Up @@ -100,7 +100,7 @@ void TestQObjectUniquePtr::testOperatorArrow()
QObject *o = new QObject();
o->setObjectName( "Teddy" );
QObjectUniquePtr<QObject> obj( o );
QCOMPARE( obj->objectName(), "Teddy" );
QCOMPARE( obj->objectName(), QStringLiteral( "Teddy" ) );
}

QGSTEST_MAIN( TestQObjectUniquePtr )
Expand Down

0 comments on commit 0c3540c

Please sign in to comment.