This commit is contained in:
Patrick Pelissier committed 2017-04-29 22:33:25 +02:00
1 parent e2e9f2db43
commit d57bae7198
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -202,7 +202,10 @@ int main(void)
string_swap (s1, s2);
assert(string_equal_str_p (s1, "QWERTY"));
assert(string_equal_str_p (s2, "AZERTY"));
string_cat(s1, s1);
assert (string_equal_str_p(s1, "QWERTYQWERTY"));
string_clear (s2);
string_clear (s1);
exit(0);