mirror of
https://github.com/zeromq/libzmq.git
synced 2025-06-16 18:56:20 +02:00
Improved test assertion message
This commit is contained in:
parent
00f4bd05be
commit
affe77280c
@ -238,7 +238,9 @@ void internal_manage_test_sockets (void *socket_, bool add_)
|
|||||||
test_sockets[i] = test_sockets[i + 1];
|
test_sockets[i] = test_sockets[i + 1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TEST_ASSERT_TRUE (found);
|
TEST_ASSERT_TRUE_MESSAGE (found,
|
||||||
|
"Attempted to close a socket that was "
|
||||||
|
"not created by test_context_socket");
|
||||||
--test_socket_count;
|
--test_socket_count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user