aboutsummaryrefslogtreecommitdiff
path: root/src/test/sync_tests.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-10-03 09:37:27 +0100
committerfanquake <fanquake@gmail.com>2022-12-05 15:51:46 +0000
commit203886c443c4ad76f8a1dba740a286e383e55206 (patch)
tree7e108768d63c83592db46026f521143d88e59440 /src/test/sync_tests.cpp
parent38cbf43dee9203364d429dc2179772eca80d8965 (diff)
Fixup clang-tidy named argument comments
Fix comments so they are checked/consistent. Fix incorrect arguments.
Diffstat (limited to 'src/test/sync_tests.cpp')
-rw-r--r--src/test/sync_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/sync_tests.cpp b/src/test/sync_tests.cpp
index 55c2c5108d..e1270a362b 100644
--- a/src/test/sync_tests.cpp
+++ b/src/test/sync_tests.cpp
@@ -107,12 +107,12 @@ BOOST_AUTO_TEST_CASE(potential_deadlock_detected)
#ifdef DEBUG_LOCKORDER
BOOST_AUTO_TEST_CASE(double_lock_mutex)
{
- TestDoubleLock<Mutex>(true /* should throw */);
+ TestDoubleLock<Mutex>(/*should_throw=*/true);
}
BOOST_AUTO_TEST_CASE(double_lock_recursive_mutex)
{
- TestDoubleLock<RecursiveMutex>(false /* should not throw */);
+ TestDoubleLock<RecursiveMutex>(/*should_throw=*/false);
}
#endif /* DEBUG_LOCKORDER */