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

Function test_file_change_debug

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

Source from the content-addressed store, hash-verified

1103
1104 #[test]
1105 fn test_file_change_debug() {
1106 let change = FileChange::added("test.rs", Encoding::Utf8);
1107 let debug = format!("{:?}", change);
1108
1109 assert!(debug.contains("FileChange"));
1110 assert!(debug.contains("test.rs"));
1111 }
1112
1113 // DetectResult Tests
1114

Callers

nothing calls this directly

Calls 1

addedFunction · 0.85

Tested by

no test coverage detected