mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
uncrustify libraries/AP_Common/AP_Test.h
This commit is contained in:
parent
4cd6657f70
commit
953cab5c5f
@ -115,7 +115,7 @@ int16_t Test::_failed = 0;
|
||||
/// the end of the block (or until the _test object that is created otherwise
|
||||
/// goes out of scope).
|
||||
///
|
||||
#define TEST(name) Test _test(#name)
|
||||
#define TEST(name) Test _test(# name)
|
||||
|
||||
/// Attach an expression to the test's success criteria.
|
||||
///
|
||||
@ -123,5 +123,5 @@ int16_t Test::_failed = 0;
|
||||
/// it does not, the text of the expression is output as a diagnostic
|
||||
/// and the test is marked as a failure.
|
||||
///
|
||||
#define REQUIRE(expr) _test.require(expr, #expr)
|
||||
#define REQUIRE(expr) _test.require(expr, # expr)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user