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

Function test_add_with_files_vec

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

Source from the content-addressed store, hash-verified

731
732 #[test]
733 fn test_add_with_files_vec() {
734 let add = Add::new().with_files(vec!["src/main.rs", "src/lib.rs"]);
735 assert_eq!(add.files.len(), 2);
736 assert_eq!(add.files[0], "src/main.rs");
737 assert_eq!(add.files[1], "src/lib.rs");
738 }
739
740 #[test]
741 fn test_add_with_files_strings() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected