Skip to content

Commit c2f829a

Browse files
committed
Reformat code
1 parent cc31258 commit c2f829a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests.hh

+1-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ constexpr auto test_translation_cases = std::array{
148148
test_translation_case{
149149
translations::english_translation<translations::kind::full>::print,
150150
"0\n0\n"sv, "0\n"sv,
151-
"WRONG: line 2: expected \"0\", got end of file\n"sv}
152-
};
151+
"WRONG: line 2: expected \"0\", got end of file\n"sv}};
153152

154153
#undef REP100
155154
#undef REP10

translations.hh

+2-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,8 @@ template <> struct represent_word<true>
135135

136136
assert (used_chars <= abbreviated_max);
137137

138-
auto append_char_helper = [&](char ch) constexpr
139-
{
140-
out = append_char (std::move (out), ch);
141-
};
138+
auto append_char_helper
139+
= [&] (char ch) constexpr { out = append_char (std::move (out), ch); };
142140

143141
*out++ = '"';
144142

0 commit comments

Comments
 (0)