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

Source from the content-addressed store, hash-verified

739
740 #[test]
741 fn test_add_with_files_strings() {
742 let add = Add::new().with_files(vec![String::from("README.md")]);
743 assert_eq!(add.files.len(), 1);
744 assert_eq!(add.files[0], "README.md");
745 }
746
747 #[test]
748 fn test_add_with_all() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected