mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed broken tests
This commit is contained in:
parent
10fb692f7f
commit
a9a860cb13
@ -44,7 +44,7 @@ void add_one_and_complete(void **state)
|
|||||||
autocomplete_add(ac, "Hello");
|
autocomplete_add(ac, "Hello");
|
||||||
char *result = autocomplete_complete(ac, "Hel");
|
char *result = autocomplete_complete(ac, "Hel");
|
||||||
|
|
||||||
assert_string_equal("Hello aaaa", result);
|
assert_string_equal("Hello", result);
|
||||||
|
|
||||||
autocomplete_clear(ac);
|
autocomplete_clear(ac);
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ void replace_two_substr(void **state)
|
|||||||
|
|
||||||
char *result = str_replace(string, sub, new);
|
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)
|
void replace_char(void **state)
|
||||||
|
Loading…
Reference in New Issue
Block a user