Merge pull request #1613 from schu/transport-ssh tests: don't verify SSH unsupported with GIT_SSH
diff --git a/tests-clar/network/remote/remotes.c b/tests-clar/network/remote/remotes.c
index 21f27bc..34f1c05 100644
--- a/tests-clar/network/remote/remotes.c
+++ b/tests-clar/network/remote/remotes.c
@@ -100,7 +100,9 @@ void test_network_remote_remotes__supported_transport_methods_are_supported(void
void test_network_remote_remotes__unsupported_transport_methods_are_unsupported(void)
{
+#ifndef GIT_SSH
cl_assert( !git_remote_supported_url("git@github.com:libgit2/libgit2.git") );
+#endif
}
void test_network_remote_remotes__refspec_parsing(void)