Update brace style.
Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include <memory>
|
||||
#include "test/jemalloc_test.h"
|
||||
|
||||
TEST_BEGIN(test_basic)
|
||||
{
|
||||
TEST_BEGIN(test_basic) {
|
||||
auto foo = new long(4);
|
||||
assert_ptr_not_null(foo, "Unexpected new[] failure");
|
||||
delete foo;
|
||||
@@ -20,8 +19,7 @@ TEST_BEGIN(test_basic)
|
||||
TEST_END
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
main() {
|
||||
return (test(
|
||||
test_basic));
|
||||
}
|
||||
|
Reference in New Issue
Block a user