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

Function test_record_with_iterator

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

Source from the content-addressed store, hash-verified

545
546 #[test]
547 fn test_record_with_iterator() {
548 let files = vec!["a.rs", "b.rs", "c.rs"];
549 let record = Record::new().with_files(files);
550 assert_eq!(record.files.len(), 3);
551 }
552
553 #[test]
554 fn test_record_clone() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected