tests: fix TestQPrefUnits

This clearly never was tested.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-12-28 09:49:16 -08:00
parent 360add37a8
commit 18fe7b8e9a

View file

@ -159,7 +159,7 @@ void TestQPrefUnits::test_multiple()
QCOMPARE(tst->length(), qPrefUnits::length());
QCOMPARE(tst->length(), QStringLiteral("meters"));
QCOMPARE(tst->pressure(), qPrefUnits::pressure());
QCOMPARE(tst->pressure(), QStringLiteral("meters"));
QCOMPARE(tst->pressure(), QStringLiteral("bar"));
}
void TestQPrefUnits::test_unit_system()