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

Function test_diff_with_change

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

Source from the content-addressed store, hash-verified

621
622 #[test]
623 fn test_diff_with_change() {
624 let diff = Diff::new().with_change("abc123");
625 assert_eq!(diff.change, Some("abc123".to_string()));
626 }
627
628 // File filter tests (`diff --change <hash> <file>`)
629

Callers

nothing calls this directly

Calls 1

with_changeMethod · 0.45

Tested by

no test coverage detected