From 18fe7b8e9ab0e6e3cba1b50c73e22b6b100696ff Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 28 Dec 2019 09:49:16 -0800 Subject: tests: fix TestQPrefUnits This clearly never was tested. Signed-off-by: Dirk Hohndel --- tests/testqPrefUnits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testqPrefUnits.cpp b/tests/testqPrefUnits.cpp index 76d5b9684..b2ead5c9e 100644 --- a/tests/testqPrefUnits.cpp +++ b/tests/testqPrefUnits.cpp @@ -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() -- cgit v1.2.3-70-g09d2