Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent 5072559 commit da15a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helics/shared_library/appTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ TEST(app_tests, recorder)

auto err2 = helicsErrorInitialize();

auto thread1 = std::thread( [&rec1, &err2]() { helicsAppRunTo(rec1, 4.0, &err2); });
auto thread1 = std::thread([&rec1, &err2]() { helicsAppRunTo(rec1, 4.0, &err2); });
helicsFederateEnterExecutingMode(vFed, &err);
auto retTime = helicsFederateRequestTime(vFed, 1, &err);
EXPECT_EQ(retTime, 1.0);
Expand Down Expand Up @@ -229,6 +229,6 @@ TEST(app_tests, echo)
EXPECT_STREQ(helicsMessageGetSource(message), "test2");
helicsMessageFree(message);
helicsFederateDestroy(mFed);
thread1.join();
thread1.join();
EXPECT_EQ(err2.error_code, 0);
}

0 comments on commit da15a20

Please sign in to comment.