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

Function test_remote_add_with_default

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

Source from the content-addressed store, hash-verified

347
348 #[test]
349 fn test_remote_add_with_default() {
350 let add = RemoteAdd {
351 name: "origin".to_string(),
352 url: "https://example.com/repo".to_string(),
353 default: true,
354 };
355 assert!(add.default);
356 }
357
358 #[test]
359 fn test_remote_remove_struct() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected