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

Function test_file_change_clone

atomic-core/src/record/detect.rs:1097–1102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1095
1096 #[test]
1097 fn test_file_change_clone() {
1098 let change = FileChange::added("test.rs", Encoding::Utf8);
1099 let cloned = change.clone();
1100
1101 assert_eq!(change, cloned);
1102 }
1103
1104 #[test]
1105 fn test_file_change_debug() {

Callers

nothing calls this directly

Calls 2

addedFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected