@@ -57,7 +57,7 @@ void test_parse_repository()
5757 repository_t repo = parse_repository (line , strlen (line ), 0 );
5858
5959 assert_true (str_arr_equals (repo .path , "repo/path" ), "Path should be 'repo/path'" );
60- assert_true (str_arr_equals (repo .url , "https://example.com/ " ), "URL should be 'https://example.com/ '" );
60+ assert_true (str_arr_equals (repo .url , "https://example.com" ), "URL should be 'https://example.com'" );
6161
6262 str_free (repo .path );
6363 str_free (repo .name );
@@ -69,7 +69,7 @@ void test_parse_repository()
6969 repository_t repo = parse_repository (line , strlen (line ), 0 );
7070
7171 assert_true (repo .path .len == 0 , "Path should be empty" );
72- assert_true (str_arr_equals (repo .url , "https://example.com/ " ), "URL should be 'https://example.com/ '" );
72+ assert_true (str_arr_equals (repo .url , "https://example.com" ), "URL should be 'https://example.com'" );
7373
7474 str_free (repo .path );
7575 str_free (repo .name );
@@ -93,7 +93,7 @@ void test_parse_repository()
9393 repository_t repo = parse_repository (line , strlen (line ), 0 );
9494
9595 assert_true (str_arr_equals (repo .path , "repo/path" ), "Path should be 'repo/path'" );
96- assert_true (str_arr_equals (repo .url , "https://example.com/repo[name]/ " ), "URL should be 'https://example.com/repo[name]/ '" );
96+ assert_true (str_arr_equals (repo .url , "https://example.com/repo[name]" ), "URL should be 'https://example.com/repo[name]'" );
9797
9898 str_free (repo .path );
9999 str_free (repo .name );
@@ -129,7 +129,7 @@ void test_parse_repository()
129129 repository_t repo = parse_repository (line , strlen (line ), 0 );
130130
131131 assert_true (str_arr_equals (repo .path , "repo/path" ), "Path should be 'repo/path'" );
132- assert_true (str_arr_equals (repo .url , "git@github.com:user/repo.git/ " ), "URL should be 'git@github.com:user/repo.git/ '" );
132+ assert_true (str_arr_equals (repo .url , "git@github.com:user/repo.git" ), "URL should be 'git@github.com:user/repo.git'" );
133133
134134 str_free (repo .path );
135135 str_free (repo .name );
0 commit comments