blob: 60d3d8d190769f3f15609931789baa6b4122dcc9 [file] [log] [blame]
Patrick Williams73e278b2022-09-16 08:31:36 -05001#include <sdbusplus/async.hpp>
2
3#include <gtest/gtest.h>
4
5TEST(Context, RunSimple)
6{
7 sdbusplus::async::context ctx;
8 ctx.run(std::execution::just() |
9 std::execution::then([&ctx]() { ctx.request_stop(); }));
10}