From 2bbcfda3fd13399fc3ec38717bb86ba9a15ea2bc Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 15 Apr 2020 21:53:27 +0200 Subject: [PATCH] Don't use ruma_api_macros directly in ruma_api tests --- tests/ruma_api_macros.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ruma_api_macros.rs b/tests/ruma_api_macros.rs index 96d983f3..5b4f9948 100644 --- a/tests/ruma_api_macros.rs +++ b/tests/ruma_api_macros.rs @@ -67,7 +67,7 @@ pub mod some_endpoint { } pub mod newtype_body_endpoint { - use ruma_api_macros::ruma_api; + use ruma_api::ruma_api; #[derive(Clone, Debug, serde::Deserialize, serde::Serialize)] pub struct MyCustomType { @@ -97,7 +97,7 @@ pub mod newtype_body_endpoint { } pub mod newtype_raw_body_endpoint { - use ruma_api_macros::ruma_api; + use ruma_api::ruma_api; #[derive(Clone, Debug, serde::Deserialize, serde::Serialize)] pub struct MyCustomType { @@ -127,7 +127,7 @@ pub mod newtype_raw_body_endpoint { } pub mod query_map_endpoint { - use ruma_api_macros::ruma_api; + use ruma_api::ruma_api; ruma_api! { metadata {