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

Function test_remote_set_url_struct

atomic-cli/src/commands/remote/mod.rs:367–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366 #[test]
367 fn test_remote_set_url_struct() {
368 let set_url = RemoteSetUrl {
369 name: "origin".to_string(),
370 url: "https://new.example.com/repo".to_string(),
371 };
372 assert_eq!(set_url.name, "origin");
373 assert_eq!(set_url.url, "https://new.example.com/repo");
374 }
375
376 #[test]
377 fn test_remote_rename_struct() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected