formatting

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-02 16:26:45 +02:00
parent 84e7be1adb
commit 8c862e1927
1 changed files with 1 additions and 4 deletions

View File

@ -103,7 +103,6 @@ namespace
{
return { i };
}
};
struct ComparableToValueType
@ -116,7 +115,6 @@ namespace
return left.x == right.j;
}
// NOTE: We do not use TEMPLATE_TEST_CASE or TEMPLATE_LIST_TEST_CASE here because code coverage
// tools (such as gcov/lcov) do not properly attribute coverage to tests instantiated via
// template test cases. Instead, we use individual TEST_CASEs for each mutex type, and factorize
@ -147,9 +145,8 @@ namespace
synchronized_value a;
ComparableToValueType x{ a->x };
REQUIRE(a == x);
ComparableToValueType y{ a->x +1 };
ComparableToValueType y{ a->x + 1 };
REQUIRE(a != y);
}
static constexpr auto initial_value = ValueType{ 42 };