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

Function test_file_ops_display

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

Source from the content-addressed store, hash-verified

1473
1474 #[test]
1475 fn test_file_ops_display() {
1476 let ops = FileOps::create(
1477 test_trunk_id(),
1478 "hello.rs".to_string(),
1479 Some(Encoding::Utf8),
1480 );
1481 let display = format!("{}", ops);
1482 assert!(display.contains("create"));
1483 assert!(display.contains("hello.rs"));
1484 }
1485
1486 #[test]
1487 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