summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-04-18 12:23:22 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2022-06-16 14:37:40 -0400
commitfb6c86a2449e9ec5e8c1c06e0be88e97004c7573 (patch)
treee1036e4c98e1754618f039a8eefc64c3df3d6f66
parent96d2d42911c0f438109d4db23ef47c08782ab1ac (diff)
downloadlibgit2-fb6c86a2449e9ec5e8c1c06e0be88e97004c7573.tar.gz
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.
-rw-r--r--tests/util/url/scp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/util/url/scp.c b/tests/util/url/scp.c
index 20fe1cc2d..0e0dce17e 100644
--- a/tests/util/url/scp.c
+++ b/tests/util/url/scp.c
@@ -314,8 +314,4 @@ void test_url_scp__invalid_addresses(void)
"[git@[fe80::dcad:beff:fe00:0001]:42:/resource"));
cl_git_fail_with(GIT_EINVALIDSPEC, git_net_url_parse_scp(&conndata,
"[git@[fe80::dcad:beff:fe00:0001:42]:/resource"));
-
- /* Invalid character inside address */
- cl_git_fail_with(GIT_EINVALIDSPEC, git_net_url_parse(&conndata,
- "[fe8o::dcad:beff:fe00:0001]:/resource"));
}