{
char got[DATA_MAX_NAME_LEN];
- memset (got, 0, sizeof (got));
-
- parse_keys (cases[i].str, got);
-
- CHECK_ZERO (strcmp (got, cases[i].want));
+ CHECK_ZERO (parse_keys (got, sizeof (got), cases[i].str));
+ EXPECT_EQ_STR (cases[i].want, got);
}
return 0;