mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 00:39:43 -05:00
Explicitly cast char constant to QChar.
This commit is contained in:
parent
208b803fbe
commit
235361faf4
@ -153,7 +153,7 @@ void TestKeePass2Writer::testRepair()
|
|||||||
QVERIFY(dbRepaired);
|
QVERIFY(dbRepaired);
|
||||||
|
|
||||||
QCOMPARE(dbRepaired->rootGroup()->entries().size(), 1);
|
QCOMPARE(dbRepaired->rootGroup()->entries().size(), 1);
|
||||||
QCOMPARE(dbRepaired->rootGroup()->entries().at(0)->username(), QString("testuser").append(0x20AC));
|
QCOMPARE(dbRepaired->rootGroup()->entries().at(0)->username(), QString("testuser").append(QChar(0x20AC)));
|
||||||
QCOMPARE(dbRepaired->rootGroup()->entries().at(0)->password(), QString("testpw"));
|
QCOMPARE(dbRepaired->rootGroup()->entries().at(0)->password(), QString("testpw"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user