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

Function test_file_ops_display

atomic-core/src/change/ops.rs:1255–1264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1253
1254 #[test]
1255 fn test_file_ops_display() {
1256 let ops = FileOps::create(
1257 test_trunk_id(),
1258 "hello.rs".to_string(),
1259 Some(Encoding::Utf8),
1260 );
1261 let display = format!("{}", ops);
1262 assert!(display.contains("create"));
1263 assert!(display.contains("hello.rs"));
1264 }
1265
1266 #[test]
1267 fn test_file_ops_into_parts() {

Callers

nothing calls this directly

Calls 2

test_trunk_idFunction · 0.70
createFunction · 0.50

Tested by

no test coverage detected