use envseal::error::Error;
#[test]
fn from_io_error() {
let io_err = std::io::Error::new(std::io::ErrorKind::PermissionDenied, "permission denied");
let err: Error = io_err.into();
assert!(matches!(err, Error::StorageIo(_)));
let msg = err.to_string();
assert!(
msg.contains("permission denied"),
"Fix: StorageIo display must include the underlying message"
);
}