From cf2336ae6e9b0dd0db9369d0a0bfaf9ecf393cf9 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 23 Nov 2021 14:15:22 +0100 Subject: QTest: fix grammar in static_assert() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6fd408702bb43e37434b382cb6cb9057ca192064 Reviewed-by: Edward Welbourne Reviewed-by: MÃ¥rten Nordheim --- src/testlib/qtestcase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/testlib/qtestcase.h b/src/testlib/qtestcase.h index 0416413420..8dca291303 100644 --- a/src/testlib/qtestcase.h +++ b/src/testlib/qtestcase.h @@ -148,9 +148,9 @@ inline void useVerifyThrowsException() {} * in their code. */ # define QVERIFY_THROWS_EXCEPTION(...) \ - static_assert(false, "Support of exceptions is disabled") + static_assert(false, "Support for exceptions is disabled") # define QVERIFY_THROWS_NO_EXCEPTION(...) \ - static_assert(false, "Support of exceptions is disabled") + static_assert(false, "Support for exceptions is disabled") #endif // !QT_NO_EXCEPTIONS -- cgit v1.2.3