Commit affe7728 authored by Simon Giesecke's avatar Simon Giesecke Committed by Simon Giesecke

Improved test assertion message

parent 00f4bd05
...@@ -238,7 +238,9 @@ void internal_manage_test_sockets (void *socket_, bool add_) ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment