diff options
| author | acdenisSK <[email protected]> | 2018-07-02 18:49:48 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-07-02 19:03:26 +0200 |
| commit | ccd250649665b1726b0ca852b2375c113da6ed57 (patch) | |
| tree | 1dda99996ac6095152b89763782fa40c8cc520de /tests/test_channels.rs | |
| parent | Simplify utils::is_nsfw (diff) | |
| download | serenity-ccd250649665b1726b0ca852b2375c113da6ed57.tar.xz serenity-ccd250649665b1726b0ca852b2375c113da6ed57.zip | |
properly fix the is_nsfw check this time
Diffstat (limited to 'tests/test_channels.rs')
| -rw-r--r-- | tests/test_channels.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_channels.rs b/tests/test_channels.rs index b2a024e..92e31fc 100644 --- a/tests/test_channels.rs +++ b/tests/test_channels.rs @@ -65,7 +65,7 @@ mod utils { channel.kind = ChannelType::Text; channel.name = "nsfw-".to_string(); - assert!(channel.is_nsfw()); + assert!(!channel.is_nsfw()); channel.name = "nsfw".to_string(); assert!(channel.is_nsfw()); |