Replaced trim implementation with g_strstrip

This commit is contained in:
James Booth
2012-04-26 23:19:28 +01:00
parent 308d7fa945
commit 381d4b8dc9
3 changed files with 6 additions and 18 deletions

View File

@@ -199,9 +199,9 @@ void trim_when_empty(void)
void trim_when_null(void)
{
char *str = NULL;
trim(str);
char *result = trim(str);
assert_is_null(str);
assert_is_null(result);
}
void register_util_tests(void)