Test strim with an empty string.

(Shall do nothing).
This commit is contained in:
Patrick Pelissier committed 2018-08-03 20:22:32 +02:00
1 parent 143a5fdf4f
commit 34d56c54c8
1 file changed
+1
+1
View File
@@ -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);