mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
refactor: Require semicolon at end of test macros
This commit is contained in:
@@ -82,7 +82,8 @@ namespace BlackMiscTest
|
||||
}
|
||||
} // ns
|
||||
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts)
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts);
|
||||
|
||||
#include "testaircraftparts.moc"
|
||||
|
||||
|
||||
@@ -48,7 +48,8 @@
|
||||
{ \
|
||||
return EXIT_FAILURE; \
|
||||
} \
|
||||
}
|
||||
} \
|
||||
static_assert(true)
|
||||
|
||||
//! Implements a main() function that executes all tests in TestObject
|
||||
//! including instantiating a QCoreApplication object.
|
||||
@@ -66,7 +67,8 @@
|
||||
{ \
|
||||
return EXIT_FAILURE; \
|
||||
} \
|
||||
}
|
||||
} \
|
||||
static_assert(true)
|
||||
|
||||
//! \endcond
|
||||
|
||||
|
||||
Reference in New Issue
Block a user