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

Source from the content-addressed store, hash-verified

121
122 #[test]
123 fn test_record_with_files_vec() {
124 let record = Record::new().with_files(vec!["src/main.rs", "src/lib.rs"]);
125 assert_eq!(record.files.len(), 2);
126 assert_eq!(record.files[0], "src/main.rs");
127 assert_eq!(record.files[1], "src/lib.rs");
128 }
129
130 #[test]
131 fn test_record_with_files_strings() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected