Skip to content

Commit 9b657b8

Browse files
committed
fixed formatting
1 parent 76dfd77 commit 9b657b8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

app/tests/thread_test.cc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@
2020
#include "gmock/gmock.h"
2121
#include "gtest/gtest.h"
2222

23-
#define EXPECT_THROW_ERROR_CODE(statement, error_code) \
24-
EXPECT_THROW({\
25-
try { \
23+
#define EXPECT_THROW_ERROR_CODE(statement, error_code) \
24+
EXPECT_THROW( \
25+
{ \
26+
try { \
2627
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
27-
} \
28-
catch(const std::system_error &exception) {\
29-
EXPECT_EQ(error_code, exception.code());\
30-
throw;\
31-
}\
32-
}, std::system_error)
28+
} catch (const std::system_error& exception) { \
29+
EXPECT_EQ(error_code, exception.code()); \
30+
throw; \
31+
} \
32+
}, \
33+
std::system_error)
3334

3435
namespace {
3536

0 commit comments

Comments
 (0)