From 75b38dde01b35ffd7bdab7ba0d13f59e73e0a767 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 7 Apr 2022 12:01:05 +0200 Subject: [PATCH] test: minor changes --- test/uvw/pipe.cpp | 4 +--- test/uvw/timer.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/uvw/pipe.cpp b/test/uvw/pipe.cpp index 25c0f0aa..beefeca5 100644 --- a/test/uvw/pipe.cpp +++ b/test/uvw/pipe.cpp @@ -13,9 +13,7 @@ TEST(Pipe, ReadWrite) { auto client = loop->resource(); server->on([](const auto &, auto &) { FAIL(); }); - client->on([](const auto &, auto &) { - FAIL(); - }); + client->on([](const auto &, auto &) { FAIL(); }); server->on([](const uvw::listen_event &, uvw::pipe_handle &handle) { std::shared_ptr socket = handle.parent().resource(); diff --git a/test/uvw/timer.cpp b/test/uvw/timer.cpp index e0a40ac4..90cabf53 100644 --- a/test/uvw/timer.cpp +++ b/test/uvw/timer.cpp @@ -124,9 +124,7 @@ TEST(Timer, BaseHandleWalk) { auto timer = loop->resource(); timer->on([](const auto &, uvw::timer_handle &handle) { - handle.parent().walk(uvw::overloaded{ - [](uvw::timer_handle &h) { h.close(); }, - [](auto &&) {}}); + handle.parent().walk(uvw::overloaded{[](uvw::timer_handle &h) { h.close(); }, [](auto &&) {}}); }); timer->start(uvw::timer_handle::time{100}, uvw::timer_handle::time{100});