summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefUnits.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-28 09:49:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 12:31:20 -0800
commit18fe7b8e9ab0e6e3cba1b50c73e22b6b100696ff (patch)
tree6caef6af0997ac47fb78777765d100e6d3e8e609 /tests/testqPrefUnits.cpp
parent360add37a8868c63dbbfbdfa2c9d4e49bab2ef57 (diff)
downloadsubsurface-18fe7b8e9ab0e6e3cba1b50c73e22b6b100696ff.tar.gz
tests: fix TestQPrefUnits
This clearly never was tested. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testqPrefUnits.cpp')
-rw-r--r--tests/testqPrefUnits.cpp2
1 files changed, 1 insertions, 1 deletions
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()