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

Function should_test_happy_path

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

Source from the content-addressed store, hash-verified

436
437 #[test]
438 fn should_test_happy_path() {
439 // Remote HTTPS URL.
440 let cfg = GitConfig::new(REPO_URL.into(), Some("main".to_owned()), None).unwrap();
441
442 assert_eq!(cfg.remote.as_ref(), Url::parse(REPO_URL).unwrap().as_str());
443 assert_eq!(cfg.branch, GitReference::Branch("main".to_owned()));
444 }
445
446 #[test]
447 fn should_support_abbreviated_repository_short_urls_like() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected