Fix formatting in test functions
This commit is contained in:
parent
37f3bcde94
commit
69f726af0e
|
@ -23,5 +23,5 @@ async fn test_registration() {
|
|||
#[cfg(target_arch = "wasm32")]
|
||||
#[wasm_bindgen_test]
|
||||
async fn test_registration_wasm() {
|
||||
test_registration()
|
||||
test_registration();
|
||||
}
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue