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

Function test_from_extension_archives

atomic-core/src/change/encoding.rs:486–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484
485 #[test]
486 fn test_from_extension_archives() {
487 assert_eq!(Encoding::from_extension("zip"), Some(Encoding::Binary));
488 assert_eq!(Encoding::from_extension("tar"), Some(Encoding::Binary));
489 assert_eq!(Encoding::from_extension("gz"), Some(Encoding::Binary));
490 }
491
492 #[test]
493 fn test_from_extension_text() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected