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

Function test_record_with_files_vec

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

Source from the content-addressed store, hash-verified

138
139 #[test]
140 fn test_record_with_files_vec() {
141 let record = Record::new().with_files(vec!["src/main.rs", "src/lib.rs"]);
142 assert_eq!(record.files.len(), 2);
143 assert_eq!(record.files[0], "src/main.rs");
144 assert_eq!(record.files[1], "src/lib.rs");
145 }
146
147 #[test]
148 fn test_record_with_files_strings() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected