@@ 8,7 8,7 @@ IT_SHOULD(do_nothing_when_replacing_bytes_in_an_empty_string, {
new = __str_replace_byte("", 1, 2);
ASSERT_STR_EQ("", new);
free(new);
-});
+})
IT_SHOULD(echo_the_given_string_when_replacing_a_non_present_byte, {
char* new;
@@ 16,7 16,7 @@ IT_SHOULD(echo_the_given_string_when_replacing_a_non_present_byte, {
new = __str_replace_byte("abcdef", 'g', 'h');
ASSERT_STR_EQ("abcdef", new);
free(new);
-});
+})
IT_SHOULD(replace_a_single_occurance, {
char* new;
@@ 24,7 24,7 @@ IT_SHOULD(replace_a_single_occurance, {
new = __str_replace_byte("120456", '0', '3');
ASSERT_STR_EQ("123456", new);
free(new);
-});
+})
IT_SHOULD(replace_multiple_occurances, {
char* new;
@@ 32,7 32,7 @@ IT_SHOULD(replace_multiple_occurances, {
new = __str_replace_byte("111333666", '1', '2');
ASSERT_STR_EQ("222333666", new);
free(new);
-});
+})
void test_str_replace_byte()
{