use dove_core::error::Error;
#[test]
fn error_categories_render_without_secrets() {
let e = Error::Gone;
assert_eq!(
e.to_string(),
"this share has expired or reached its download limit"
);
let msg = Error::Aws("PutObject failed: HTTP 403".into()).to_string();
assert!(!msg.contains("X-Amz-Signature"));
}