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