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

Function test_diff_cmd_clone

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

Source from the content-addressed store, hash-verified

1146
1147 #[test]
1148 fn test_diff_cmd_clone() {
1149 let diff = Diff::new().with_context(10);
1150 let cloned = diff.clone();
1151 assert_eq!(diff.context, cloned.context);
1152 }
1153
1154 #[test]
1155 fn test_diff_format_stat_copy() {

Callers

nothing calls this directly

Calls 2

with_contextMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected