From 69f726af0e3fbdf47dd92b4814aa36cc907e588f Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Mon, 20 Nov 2023 14:36:00 +0100 Subject: [PATCH] Fix formatting in test functions --- tests/auth.rs | 2 +- tests/channels.rs | 12 ++++++------ tests/gateway.rs | 8 ++++---- tests/guilds.rs | 10 +++++----- tests/instance.rs | 2 +- tests/invites.rs | 2 +- tests/members.rs | 2 +- tests/messages.rs | 8 ++++---- tests/relationships.rs | 8 ++++---- tests/roles.rs | 4 ++-- 10 files changed, 29 insertions(+), 29 deletions(-) diff --git a/tests/auth.rs b/tests/auth.rs index c0ba90f..921effa 100644 --- a/tests/auth.rs +++ b/tests/auth.rs @@ -23,5 +23,5 @@ async fn test_registration() { #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_registration_wasm() { - test_registration() + test_registration(); } diff --git a/tests/channels.rs b/tests/channels.rs index 270f64f..e67f3dd 100644 --- a/tests/channels.rs +++ b/tests/channels.rs @@ -13,32 +13,32 @@ wasm_bindgen_test_configure!(run_in_browser); #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_get_channel_wasm() { - get_channel() + get_channel(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_delete_channel_wasm() { - delete_channel() + delete_channel(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_modify_channel_wasm() { - modify_channel() + modify_channel(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_get_channel_messages_wasm() { - get_channel_messages() + get_channel_messages(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_create_dm_wasm() { - create_dm() + create_dm(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_remove_add_person_from_to_dm_wasm() { - remove_add_person_from_to_dm() + remove_add_person_from_to_dm(); } #[tokio::test] diff --git a/tests/gateway.rs b/tests/gateway.rs index 54de74f..d0741f9 100644 --- a/tests/gateway.rs +++ b/tests/gateway.rs @@ -13,25 +13,25 @@ wasm_bindgen_test_configure!(run_in_browser); #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_gateway_establish_wasm() { - test_gateway_establish() + test_gateway_establish(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_gateway_authenticate_wasm() { - test_gateway_authenticate() + test_gateway_authenticate(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_self_updating_structs_wasm() { - test_self_updating_structs() + test_self_updating_structs(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_recursive_self_updating_structs_wasm() { - test_recursive_self_updating_structs() + test_recursive_self_updating_structs(); } #[tokio::test] diff --git a/tests/guilds.rs b/tests/guilds.rs index fd684dd..8537bb3 100644 --- a/tests/guilds.rs +++ b/tests/guilds.rs @@ -12,31 +12,31 @@ wasm_bindgen_test_configure!(run_in_browser); #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn guild_creation_deletion_wasm() { - guild_creation_deletion() + guild_creation_deletion(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn get_channels_wasm() { - get_channels() + get_channels(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn guild_create_ban_wasm() { - guild_create_ban() + guild_create_ban(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn modify_guild_wasm() { - modify_guild() + modify_guild(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn guild_remove_member_wasm() { - guild_remove_member() + guild_remove_member(); } #[tokio::test] diff --git a/tests/instance.rs b/tests/instance.rs index d8658bd..77ad366 100644 --- a/tests/instance.rs +++ b/tests/instance.rs @@ -8,7 +8,7 @@ wasm_bindgen_test_configure!(run_in_browser); #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn generate_general_configuration_schema_wasm() { - generate_general_configuration_schema() + generate_general_configuration_schema(); } #[tokio::test] diff --git a/tests/invites.rs b/tests/invites.rs index 031afeb..99d75b8 100644 --- a/tests/invites.rs +++ b/tests/invites.rs @@ -9,7 +9,7 @@ wasm_bindgen_test_configure!(run_in_browser); #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn create_accept_invite_wasm() { - create_accept_invite() + create_accept_invite(); } #[tokio::test] diff --git a/tests/members.rs b/tests/members.rs index 0dd3616..e7a34ed 100644 --- a/tests/members.rs +++ b/tests/members.rs @@ -10,7 +10,7 @@ mod common; #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn add_remove_role_wasm() { - add_remove_role().unwrap() + add_remove_role().unwrap(); } #[tokio::test] diff --git a/tests/messages.rs b/tests/messages.rs index a39e9a0..4355793 100644 --- a/tests/messages.rs +++ b/tests/messages.rs @@ -13,25 +13,25 @@ mod common; #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn send_message_wasm() { - send_message() + send_message(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn send_message_attachment_wasm() { - send_message_attachment() + send_message_attachment(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn search_messages_wasm() { - search_messages() + search_messages(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_stickies_wasm() { - test_stickies() + test_stickies(); } #[tokio::test] diff --git a/tests/relationships.rs b/tests/relationships.rs index 112b47e..e05e2fe 100644 --- a/tests/relationships.rs +++ b/tests/relationships.rs @@ -10,25 +10,25 @@ mod common; #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_get_relationships_wasm() { - test_get_relationships() + test_get_relationships(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_get_mutual_relationships_wasm() { - test_get_mutual_relationships() + test_get_mutual_relationships(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_modify_relationship_friends_wasm() { - test_modify_relationship_friends() + test_modify_relationship_friends(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn test_modify_relationship_block_wasm() { - test_modify_relationship_block() + test_modify_relationship_block(); } #[tokio::test] diff --git a/tests/roles.rs b/tests/roles.rs index 5e85fbc..628e4fc 100644 --- a/tests/roles.rs +++ b/tests/roles.rs @@ -10,13 +10,13 @@ mod common; #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn create_and_get_roles_wasm() { - create_and_get_roles() + create_and_get_roles(); } #[cfg(target_arch = "wasm32")] #[wasm_bindgen_test] async fn get_and_delete_role_wasm() { - get_and_delete_role() + get_and_delete_role(); } #[tokio::test]