Skip to content

Commit

Permalink
🎨 Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Feb 23, 2024
1 parent 1223b6f commit 72d5fc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/tuple_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
TEST_CASE("Test tuple compose", "[tuple_compose]") {
// NOLINTBEGIN(cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers)
std::tuple t{[](int x) { return x + 1.0; }, [](double x) { return x * 2.0; },
[](double x) { return std::to_string(x / 2.0); }};
[](double x) { return std::to_string(x / 2.0); }};
// NOLINTEND
REQUIRE(chains::tuple_compose(std::move(t))(1) == "2.000000"); // NOLINT(bugprone-use-after-move,hicpp-invalid-access-moved)
REQUIRE(chains::tuple_compose(std::move(t))(1) ==
"2.000000"); // NOLINT(bugprone-use-after-move,hicpp-invalid-access-moved)
}

0 comments on commit 72d5fc9

Please sign in to comment.