From a9a860cb1321415276c790cac0b58720d77c53e7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 19 Jan 2014 02:14:28 +0000 Subject: [PATCH] Fixed broken tests --- tests/test_autocomplete.c | 2 +- tests/test_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_autocomplete.c b/tests/test_autocomplete.c index e6fdde47..3eea639b 100644 --- a/tests/test_autocomplete.c +++ b/tests/test_autocomplete.c @@ -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); } diff --git a/tests/test_common.c b/tests/test_common.c index bcd421a0..0d02bbd0 100644 --- a/tests/test_common.c +++ b/tests/test_common.c @@ -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)