diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-09 08:23:21 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-09 08:23:21 -0700 |
| commit | 1c138a357b37e3bd8002109cfb9a8da94a53810e (patch) | |
| tree | 3256df54f6b31e0422848ea6bcc1d35e58b27eee /tests | |
| parent | `parent_id` -> `category_id` (diff) | |
| download | serenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.tar.xz serenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.zip | |
Apply rustfmt + fix tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_channels.rs | 1 | ||||
| -rw-r--r-- | tests/test_formatters.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_channels.rs b/tests/test_channels.rs index dd00c3e..246243d 100644 --- a/tests/test_channels.rs +++ b/tests/test_channels.rs @@ -22,6 +22,7 @@ mod utils { GuildChannel { id: ChannelId(1), bitrate: None, + category_id: None, guild_id: GuildId(2), kind: ChannelType::Text, last_message_id: None, diff --git a/tests/test_formatters.rs b/tests/test_formatters.rs index 90ad16c..9093cee 100644 --- a/tests/test_formatters.rs +++ b/tests/test_formatters.rs @@ -19,6 +19,7 @@ fn test_mention() { let channel = Channel::Guild(Arc::new(RwLock::new(GuildChannel { bitrate: None, + category_id: None, guild_id: GuildId(1), kind: ChannelType::Text, id: ChannelId(4), |