aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmtx.c')
-rw-r--r--test/testmtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmtx.c b/test/testmtx.c
index f83a9744a..52b5cebd4 100644
--- a/test/testmtx.c
+++ b/test/testmtx.c
@@ -446,13 +446,13 @@ static void mtx5_execute(void) {
chMtxUnlockS();
chSysUnlock();
- test_assert(3, isempty(&m1.m_queue), "queue not empty");
+ test_assert(3, queue_isempty(&m1.m_queue), "queue not empty");
test_assert(4, m1.m_owner == NULL, "still owned");
test_assert(5, chThdGetPriority() == prio, "wrong priority level");
chMtxLock(&m1);
chMtxUnlockAll();
- test_assert(6, isempty(&m1.m_queue), "queue not empty");
+ test_assert(6, queue_isempty(&m1.m_queue), "queue not empty");
test_assert(7, m1.m_owner == NULL, "still owned");
}