Skip to content

Commit 5570a2b

Browse files
committed
Format schedule_all test
1 parent 88c840c commit 5570a2b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

test/exec/test_static_thread_pool.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,11 @@ TEST_CASE("schedule_all on static_thread_pool accepts move-only ranges",
172172
"[types][static_thread_pool]")
173173
{
174174
exec::static_thread_pool pool{1};
175-
int sum = 0;
176-
auto sender = exec::schedule_all(
177-
pool,
178-
std::ranges::owning_view<std::vector<int>>{std::vector<int>{1, 2, 3}})
175+
int sum = 0;
176+
auto sender = exec::schedule_all(pool,
177+
std::ranges::owning_view<std::vector<int>>{
178+
std::vector<int>{1, 2, 3}
179+
})
179180
| exec::transform_each(ex::then([&sum](int value) noexcept { sum += value; }))
180181
| exec::ignore_all_values();
181182

0 commit comments

Comments
 (0)