@@ -135,7 +135,7 @@ std::string ToString(std::array<DeathCause, N> const& causes) {
135
135
ss << " {" ;
136
136
for (std::size_t i = 0 ; i != N; ++i) {
137
137
ss << ToString (causes[i]);
138
- if (i+ 1 != N)
138
+ if (i + 1 != N)
139
139
ss << " , " ;
140
140
}
141
141
ss << " }" ;
@@ -209,8 +209,8 @@ class DeathTest {
209
209
210
210
if (std::find (expected_causes.begin (), expected_causes.end (), cause) == expected_causes.end ()) {
211
211
std::stringstream failure_description;
212
- failure_description //
213
- << " Child died, but with a different death cause\n " //
212
+ failure_description //
213
+ << " Child died, but with a different death cause\n " //
214
214
<< " Expected cause(s): " << ToString (expected_causes) << " \n " //
215
215
<< " Actual cause: " << ToString (cause) << " \n " ;
216
216
return DeathTestResult (Outcome::UnexpectedCause, cause, failure_description.str ());
@@ -349,7 +349,8 @@ void std::__libcpp_verbose_abort(char const* format, ...) {
349
349
#endif // _LIBCPP_VERSION
350
350
351
351
template <std::size_t N, class Func >
352
- bool ExpectDeath (const std::array<DeathCause, N>& expected_causes, const char * stmt, Func&& func, const Matcher& matcher) {
352
+ bool ExpectDeath (
353
+ const std::array<DeathCause, N>& expected_causes, const char * stmt, Func&& func, const Matcher& matcher) {
353
354
for (auto cause : expected_causes)
354
355
assert (IsValidCause (cause));
355
356
0 commit comments