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

Function test_diff_with_files

atomic-cli/src/commands/diff/tests.rs:611–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609
610 #[test]
611 fn test_diff_with_files() {
612 let diff = Diff::new().with_files(vec!["a.rs", "b.rs"]);
613 assert_eq!(diff.files, vec!["a.rs", "b.rs"]);
614 }
615
616 #[test]
617 fn test_diff_with_files_string() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected