mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 19:36:22 +00:00
Fixed broken tests
This commit is contained in:
@@ -44,7 +44,7 @@ void add_one_and_complete(void **state)
|
||||
autocomplete_add(ac, "Hello");
|
||||
char *result = autocomplete_complete(ac, "Hel");
|
||||
|
||||
assert_string_equal("Hello aaaa", result);
|
||||
assert_string_equal("Hello", result);
|
||||
|
||||
autocomplete_clear(ac);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ void replace_two_substr(void **state)
|
||||
|
||||
char *result = str_replace(string, sub, new);
|
||||
|
||||
assert_string_equal("it was a was string ssss", result);
|
||||
assert_string_equal("it was a was string", result);
|
||||
}
|
||||
|
||||
void replace_char(void **state)
|
||||
|
||||
Reference in New Issue
Block a user