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

Function test_push_with_remote_url

atomic-cli/src/commands/push/command.rs:961–967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

959
960 #[test]
961 fn test_push_with_remote_url() {
962 let push = Push::new().with_remote("https://api.example.com/repo");
963 assert_eq!(
964 push.remote,
965 Some("https://api.example.com/repo".to_string())
966 );
967 }
968
969 #[test]
970 fn test_push_with_to_view() {

Callers

nothing calls this directly

Calls 1

with_remoteMethod · 0.45

Tested by

no test coverage detected