Commit 5c1d2e13 authored by Bhushan Shah's avatar Bhushan Shah 📱

Use QCOMPARE for string comparision

so we get better test results
parent 375fe14b
......@@ -78,7 +78,7 @@ private Q_SLOTS:
const Rules* rules = Rules::readRules(Rules::NO_EXTRAS);
QCOMPARE( flags->getLongText(layoutUnit, rules), QString("English (US)") );
QVERIFY( flags->getLongText(layoutUnit1, rules).startsWith("English (US, international with dead keys)") );
QCOMPARE( flags->getLongText(layoutUnit1, rules), QString("English (US, international with dead keys)") );
QCOMPARE( flags->getLongText(layoutUnit2, rules), QString("other") );
rules = NULL; // when no rules found
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment