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:571–575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

569
570 #[test]
571 fn test_record_with_iterator() {
572 let files = vec!["a.rs", "b.rs", "c.rs"];
573 let record = Record::new().with_files(files);
574 assert_eq!(record.files.len(), 3);
575 }
576
577 #[test]
578 fn test_record_clone() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected