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

Function test_diff_with_files_string

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

Source from the content-addressed store, hash-verified

615
616 #[test]
617 fn test_diff_with_files_string() {
618 let diff = Diff::new().with_files(vec![String::from("test.rs")]);
619 assert_eq!(diff.files, vec!["test.rs"]);
620 }
621
622 #[test]
623 fn test_diff_with_change() {

Callers

nothing calls this directly

Calls 1

with_filesMethod · 0.45

Tested by

no test coverage detected