diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-24 09:31:25 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-24 09:31:25 -0700 |
| commit | a2617073f9b0cae1fd5734975bedbfa864d2cfcd (patch) | |
| tree | f9b9dced423177bbe4f893394d578d2f3a2e9f90 /tests/test_msg_builder.rs | |
| parent | Make Message::nonce a serde_json::Value (diff) | |
| download | serenity-a2617073f9b0cae1fd5734975bedbfa864d2cfcd.tar.xz serenity-a2617073f9b0cae1fd5734975bedbfa864d2cfcd.zip | |
Fix no-feature tests
Diffstat (limited to 'tests/test_msg_builder.rs')
| -rw-r--r-- | tests/test_msg_builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_msg_builder.rs b/tests/test_msg_builder.rs index 8cead22..56767b8 100644 --- a/tests/test_msg_builder.rs +++ b/tests/test_msg_builder.rs @@ -1,3 +1,5 @@ +#![cfg(feature="utils")] + extern crate serenity; use serenity::utils::MessageBuilder; @@ -14,7 +16,6 @@ fn code_blocks() { assert_eq!(content, "```rb\ntest\n```"); } - #[test] fn safe_content() { let content = MessageBuilder::new() @@ -23,7 +24,6 @@ fn safe_content() { assert_ne!(content, "@everyone discord.gg/discord-api"); } - #[test] fn no_free_formatting() { let content = MessageBuilder::new() |