diff options
author | Jason Evans <jasone@canonware.com> | 2017-01-15 16:56:30 -0800 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-01-20 21:43:07 -0800 |
commit | c4c2592c834d8a37beb0a0d53842095160cbf9ee (patch) | |
tree | e4717ea6a2f13926dadd74ea1fc83f9742f77968 /test/integration/cpp/basic.cpp | |
parent | 5154ff32ee8c37bacb6afd8a07b923eb33228357 (diff) |
Update brace style.
Add braces around single-line blocks, and remove line breaks before
function-opening braces.
This resolves #537.
Diffstat (limited to 'test/integration/cpp/basic.cpp')
-rw-r--r-- | test/integration/cpp/basic.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/cpp/basic.cpp b/test/integration/cpp/basic.cpp index b208e1d1..fe8874fa 100644 --- a/test/integration/cpp/basic.cpp +++ b/test/integration/cpp/basic.cpp @@ -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)); } |