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

Function test_file_ops_display

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

Source from the content-addressed store, hash-verified

917
918 #[test]
919 fn test_file_ops_display() {
920 let ops = FileOps::create(
921 test_trunk_id(),
922 "hello.rs".to_string(),
923 Some(Encoding::Utf8),
924 );
925 let display = format!("{}", ops);
926 assert!(display.contains("create"));
927 assert!(display.contains("hello.rs"));
928 }
929
930 #[test]
931 fn test_file_ops_into_parts() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected