diff --git a/proxmox-api-macro/tests/api1.rs b/proxmox-api-macro/tests/api1.rs index 88eb74ac..ebb896d5 100644 --- a/proxmox-api-macro/tests/api1.rs +++ b/proxmox-api-macro/tests/api1.rs @@ -67,10 +67,8 @@ fn create_ticket_schema_check() { ( "password", false, - &::proxmox_schema::StringSchema::new( - "The secret password or a valid ticket.", - ) - .schema(), + &::proxmox_schema::StringSchema::new("The secret password or a valid ticket.") + .schema(), ), ( "username", @@ -170,10 +168,8 @@ fn create_ticket_direct_schema_check() { ( "password", false, - &::proxmox_schema::StringSchema::new( - "The secret password or a valid ticket.", - ) - .schema(), + &::proxmox_schema::StringSchema::new("The secret password or a valid ticket.") + .schema(), ), ( "username", diff --git a/proxmox-api-macro/tests/int-limits.rs b/proxmox-api-macro/tests/int-limits.rs index 896a93af..c4cef309 100644 --- a/proxmox-api-macro/tests/int-limits.rs +++ b/proxmox-api-macro/tests/int-limits.rs @@ -1,7 +1,7 @@ //! Test the automatic addition of integer limits. -use proxmox_schema::ApiType; use proxmox_api_macro::api; +use proxmox_schema::ApiType; /// An i16: -32768 to 32767. #[api]