Problem: remaining basic assertions

Solution: use unity assertions instead
This commit is contained in:
Simon Giesecke
2019-03-23 07:53:38 -04:00
parent 5b40bdb194
commit 5d74eba64a
18 changed files with 118 additions and 130 deletions

View File

@@ -56,8 +56,8 @@ static void zap_handler (void *handler_)
char *routing_id = s_recv (handler_);
char *mechanism = s_recv (handler_);
assert (streq (version, "1.0"));
assert (streq (mechanism, "NULL"));
TEST_ASSERT_EQUAL_STRING ("1.0", version);
TEST_ASSERT_EQUAL_STRING ("NULL", mechanism);
s_sendmore (handler_, version);
s_sendmore (handler_, sequence);