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

Function test_archive_manifest_display

atomic-repository/src/archive.rs:1065–1072  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1063
1064 #[test]
1065 fn test_archive_manifest_display() {
1066 let mut manifest = ArchiveManifest::new();
1067 manifest.add(ArchiveEntry::file("test.txt", 1024));
1068
1069 let display = format!("{}", manifest);
1070 assert!(display.contains("1 files"));
1071 assert!(display.contains("1024 bytes"));
1072 }
1073
1074 // ArchiveOutcome Tests
1075

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected