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

Function test_is_io

atomic-core/src/change/format_v3/error.rs:504–511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502
503 #[test]
504 fn test_is_io() {
505 let io_err: FormatError =
506 std::io::Error::new(std::io::ErrorKind::BrokenPipe, "broken").into();
507 assert!(io_err.is_io());
508
509 let other = FormatError::HashTableFull;
510 assert!(!other.is_io());
511 }
512
513 #[test]
514 fn test_is_serialization() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected