1
0
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:
James Booth 2014-01-19 02:14:28 +00:00
parent 10fb692f7f
commit a9a860cb13
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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)