Skip to content

Commit fb6c86a

Browse files
committed
url: remove invalid scp url parsing test
The url::scp::invalid_addresses test attempts to test an invalid IPv6 address. It does not, it calls the regular URL parsing function which treats it like a possibly invalid scheme.
1 parent 96d2d42 commit fb6c86a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/util/url/scp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,4 @@ void test_url_scp__invalid_addresses(void)
314314
"[git@[fe80::dcad:beff:fe00:0001]:42:/resource"));
315315
cl_git_fail_with(GIT_EINVALIDSPEC, git_net_url_parse_scp(&conndata,
316316
"[git@[fe80::dcad:beff:fe00:0001:42]:/resource"));
317-
318-
/* Invalid character inside address */
319-
cl_git_fail_with(GIT_EINVALIDSPEC, git_net_url_parse(&conndata,
320-
"[fe8o::dcad:beff:fe00:0001]:/resource"));
321317
}

0 commit comments

Comments
 (0)