From 17d1861862293da8d6c9b4cf2fd06c403b591567 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 01:13:40 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/helics/apps/Connector2StageTests.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/helics/apps/Connector2StageTests.cpp b/tests/helics/apps/Connector2StageTests.cpp index 4895b6914d..73aba091cf 100644 --- a/tests/helics/apps/Connector2StageTests.cpp +++ b/tests/helics/apps/Connector2StageTests.cpp @@ -476,7 +476,6 @@ TEST(connector_2stage, three_fed_input) EXPECT_EQ(conn1.madeConnections(), 1); } - TEST(connector_2stage, three_fed_input_regex) { helics::FederateInfo fedInfo(helics::CoreType::TEST); @@ -486,7 +485,9 @@ TEST(connector_2stage, three_fed_input_regex) fedInfo.coreInitString = "-f3 --autobroker"; fedInfo.setProperty(HELICS_PROPERTY_TIME_PERIOD, 1.0); helics::apps::Connector conn1("connector4", fedInfo); - conn1.addConnection("REGEX:Battery/EV(?.)_input_voltage", "REGEX:Charger/EV(?.)_output_voltage", InterfaceDirection::FROM_TO); + conn1.addConnection("REGEX:Battery/EV(?.)_input_voltage", + "REGEX:Charger/EV(?.)_output_voltage", + InterfaceDirection::FROM_TO); fedInfo.coreInitString = ""; CheckFed cfed1("c1", fedInfo); cfed1.addPotentialPubs({"Charger/EV1_output_voltage", "pub2"}); @@ -501,7 +502,7 @@ TEST(connector_2stage, three_fed_input_regex) cfed1.executing(); cfed1.run(5); cfed1.finalize(); - }); + }); vFed2.enterExecutingModeComplete(); std::vector data; if (inp1.isUpdated()) {