Test strim with an empty string.
(Shall do nothing).
This commit is contained in:
1 parent
143a5fdf4f
commit
34d56c54c8
1 file changed
+1
@@ -224,6 +224,7 @@ static void test0(void)
|
||||
|
||||
string_clear (s1);
|
||||
string_init (s1);
|
||||
string_strim(s1);
|
||||
|
||||
assert (string_cmp_str (s1, "") == 0);
|
||||
assert (string_cmpi (s1, s1) == 0);
|
||||
|
||||
Reference in new issue
Block a user