MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_remote_entry_is_valid_url

Function test_remote_entry_is_valid_url

atomic-repository/src/remote.rs:725–730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

723
724 #[test]
725 fn test_remote_entry_is_valid_url() {
726 assert!(RemoteEntry::new("https://example.com/repo").is_valid_url());
727 assert!(RemoteEntry::new("http://localhost:3000/repo").is_valid_url());
728 assert!(!RemoteEntry::new("example.com/repo").is_valid_url());
729 assert!(!RemoteEntry::new("origin").is_valid_url());
730 }
731
732 #[test]
733 fn test_remote_entry_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected