diff options
Diffstat (limited to 'tests/auto/testlib/selftests/xunit/tst_xunit.cpp')
-rw-r--r-- | tests/auto/testlib/selftests/xunit/tst_xunit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/testlib/selftests/xunit/tst_xunit.cpp b/tests/auto/testlib/selftests/xunit/tst_xunit.cpp index 508f8cd024..d620784e41 100644 --- a/tests/auto/testlib/selftests/xunit/tst_xunit.cpp +++ b/tests/auto/testlib/selftests/xunit/tst_xunit.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. @@ -88,7 +88,7 @@ void tst_Xunit::testFunc5() void tst_Xunit::testFunc6() { QEXPECT_FAIL("", "this failure is also expected", Abort); - QVERIFY(false); + QFAIL("This is a deliberate failure"); } void tst_Xunit::testFunc7() |