From ff329f970b14720b82616590fa9644e47246cf36 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 18 Apr 2020 07:05:31 +0200 Subject: [PATCH] src/api2/types.rs: use anyhow::Error in test cases --- src/api2/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api2/types.rs b/src/api2/types.rs index 94d5217d..a224243d 100644 --- a/src/api2/types.rs +++ b/src/api2/types.rs @@ -446,7 +446,7 @@ pub struct TaskListItem { // Regression tests #[test] -fn test_cert_fingerprint_schema() -> Result<(), Error> { +fn test_cert_fingerprint_schema() -> Result<(), anyhow::Error> { let schema = CERT_FINGERPRINT_SHA256_SCHEMA; @@ -487,7 +487,7 @@ fn test_cert_fingerprint_schema() -> Result<(), Error> { } #[test] -fn test_proxmox_user_id_schema() -> Result<(), Error> { +fn test_proxmox_user_id_schema() -> Result<(), anyhow::Error> { let schema = PROXMOX_USER_ID_SCHEMA;