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

Function test_archive_format_extension

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

Source from the content-addressed store, hash-verified

842
843 #[test]
844 fn test_archive_format_extension() {
845 assert_eq!(ArchiveFormat::TarGz.extension(), ".tar.gz");
846 assert_eq!(ArchiveFormat::Tar.extension(), ".tar");
847 assert_eq!(ArchiveFormat::Directory.extension(), "");
848 assert_eq!(ArchiveFormat::Zip.extension(), ".zip");
849 }
850
851 #[test]
852 fn test_archive_format_from_path() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected