Fix test.
This commit is contained in:
1 parent
a54041c340
commit
c89d6ef0ce
1 file changed
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user