MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / should_not_fail_for_ssh_remote_urls

Function should_not_fail_for_ssh_remote_urls

flow-quickstart/src/git.rs:374–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372
373 #[test]
374 fn should_not_fail_for_ssh_remote_urls() {
375 let config = GitConfig::new(REPO_URL_SSH.into(), None, None).unwrap();
376 assert_eq!(config.kind, RepoKind::RemoteSsh);
377 }
378
379 #[test]
380 #[should_panic(expected = "Invalid git remote 'aslkdgjlaskjdglskj'")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected