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

Function test_remote_rename_struct

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

Source from the content-addressed store, hash-verified

375
376 #[test]
377 fn test_remote_rename_struct() {
378 let rename = RemoteRename {
379 old_name: "origin".to_string(),
380 new_name: "upstream".to_string(),
381 };
382 assert_eq!(rename.old_name, "origin");
383 assert_eq!(rename.new_name, "upstream");
384 }
385
386 #[test]
387 fn test_remote_default_struct() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected