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

Function test_io_error_conversion

atomic-remote/src/error.rs:549–553  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

547
548 #[test]
549 fn test_io_error_conversion() {
550 let io_err = std::io::Error::new(std::io::ErrorKind::NotFound, "file not found");
551 let remote_err: RemoteError = io_err.into();
552 assert!(matches!(remote_err, RemoteError::Io(_)));
553 }
554
555 #[test]
556 fn test_url_error_conversion() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected