Fix test.

This commit is contained in:
Patrick Pelissier committed 2019-04-20 12:33:08 +02:00
1 parent a54041c340
commit c89d6ef0ce
1 file changed
+1 -1
+1 -1
View File
@@ -455,7 +455,7 @@ static void test0(void)
string_set_str (s1, "");
assert (string_capacity(s1) > 0);
string_reserve (s1, 0);
assert (string_capacity(s1) == sizeof (str_heap_t) - 1);
assert (string_capacity(s1) == sizeof (string_heap_t) - 1);
string_set_str(s1, "HELLO XXX!");
string_replace_at(s1, 6, 3, "World");