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

Function test_record_clone

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

Source from the content-addressed store, hash-verified

552
553 #[test]
554 fn test_record_clone() {
555 let record = Record::new()
556 .with_message("Test")
557 .with_all(true)
558 .with_dry_run(true);
559
560 let cloned = record.clone();
561 assert_eq!(cloned.message, record.message);
562 assert_eq!(cloned.all, record.all);
563 assert_eq!(cloned.dry_run, record.dry_run);
564 }
565
566 #[test]
567 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