diff options
| author | acdenisSK <[email protected]> | 2017-07-27 06:42:48 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 07:30:23 +0200 |
| commit | 550030264952f0e0043b63f4582bb817ef8bbf37 (patch) | |
| tree | b921e2f78fd603a5ca671623083a32806fd16090 /tests/test_formatters.rs | |
| parent | Use a consistent indentation style (diff) | |
| download | serenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip | |
rustfmt
Diffstat (limited to 'tests/test_formatters.rs')
| -rw-r--r-- | tests/test_formatters.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/test_formatters.rs b/tests/test_formatters.rs index a651e60..c08d044 100644 --- a/tests/test_formatters.rs +++ b/tests/test_formatters.rs @@ -11,26 +11,26 @@ fn test_formatters() { assert_eq!(UserId(5).to_string(), "5"); } -#[cfg(feature="utils")] +#[cfg(feature = "utils")] #[test] fn test_mention() { use serenity::utils::Colour; use std::sync::{Arc, RwLock}; let channel = Channel::Guild(Arc::new(RwLock::new(GuildChannel { - bitrate: None, - guild_id: GuildId(1), - kind: ChannelType::Text, - id: ChannelId(4), - last_message_id: None, - last_pin_timestamp: None, - name: "a".to_owned(), - permission_overwrites: vec![], - position: 1, - topic: None, - user_limit: None, - nsfw: false, - }))); + bitrate: None, + guild_id: GuildId(1), + kind: ChannelType::Text, + id: ChannelId(4), + last_message_id: None, + last_pin_timestamp: None, + name: "a".to_owned(), + permission_overwrites: vec![], + position: 1, + topic: None, + user_limit: None, + nsfw: false, + }))); let emoji = Emoji { id: EmojiId(5), name: "a".to_owned(), |