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

Function test_add_with_files_strings

atomic-cli/src/commands/add.rs:593–597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591
592 #[test]
593 fn test_add_with_files_strings() {
594 let add = Add::new().with_files(vec![String::from("README.md")]);
595 assert_eq!(add.files.len(), 1);
596 assert_eq!(add.files[0], "README.md");
597 }
598
599 #[test]
600 fn test_add_with_all() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected