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

Function test_record_clone

atomic-cli/src/commands/record/tests.rs:578–588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576
577 #[test]
578 fn test_record_clone() {
579 let record = Record::new()
580 .with_message("Test")
581 .with_all(true)
582 .with_dry_run(true);
583
584 let cloned = record.clone();
585 assert_eq!(cloned.message, record.message);
586 assert_eq!(cloned.all, record.all);
587 assert_eq!(cloned.dry_run, record.dry_run);
588 }
589
590 #[test]
591 fn test_record_debug() {

Callers

nothing calls this directly

Calls 4

with_dry_runMethod · 0.45
with_allMethod · 0.45
with_messageMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected