summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorQt CI Bot <qt_ci_bot@qt-project.org>2021-04-16 14:49:26 +0000
committerQt CI Bot <qt_ci_bot@qt-project.org>2021-04-16 14:49:26 +0000
commit07d4a981a23665ea8206a2faf6e0c99e8bf2052c (patch)
tree49d34ef6cc077a87fc308c71f77cddc6174e239e /tests/auto
parent38e111158a38507c63fd70f9ee18b9116b537976 (diff)
parentc3aa4cf95257416bb6bcfb43c9e0e54b9af36b4b (diff)
Merge integration refs/builds/qtci/dev/1618561273
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
index 92676108e0..9c505e5baa 100644
--- a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
+++ b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
@@ -996,10 +996,10 @@ void tst_QTimeZone::malformed()
const QDateTime now = QDateTime::currentDateTime();
QTimeZone barf("QUT4tCZ0 , /");
if (barf.isValid())
- barf.offsetFromUtc(now);
+ QCOMPARE(barf.offsetFromUtc(now), 0);
barf = QTimeZone("QtC+09,,MA");
if (barf.isValid())
- barf.offsetFromUtc(now);
+ QCOMPARE(barf.offsetFromUtc(now), 0);
}
void tst_QTimeZone::utcTest()