Skip to content

Commit 65d1ff5

Browse files
committed
added a test for let_value's environment
1 parent c744385 commit 65d1ff5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/beman/execution/exec-let.test.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ auto test_let_value_allocator() -> void {
109109
}
110110

111111
auto test_let_value_env() -> void {
112-
ex::sync_wait(ex::just() | ex::let_value([] { return ex::read_env(ex::get_scheduler); }) |
113-
ex::then([](auto s) { static_assert(ex::scheduler<decltype(s)>); }));
112+
ex::sync_wait(
113+
ex::just()
114+
| ex::let_value([]{ return ex::read_env(ex::get_scheduler); })
115+
| ex::then([](auto s){ static_assert(ex::scheduler<decltype(s)>); })
116+
);
114117
}
115118
} // namespace
116119

0 commit comments

Comments
 (0)