aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_channels.rs2
-rw-r--r--tests/test_create_embed.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_channels.rs b/tests/test_channels.rs
index 51e8510..86523dc 100644
--- a/tests/test_channels.rs
+++ b/tests/test_channels.rs
@@ -1,3 +1,5 @@
+#![cfg(feature = "model")]
+
extern crate parking_lot;
extern crate serenity;
diff --git a/tests/test_create_embed.rs b/tests/test_create_embed.rs
index 01a7d3e..dd84154 100644
--- a/tests/test_create_embed.rs
+++ b/tests/test_create_embed.rs
@@ -1,5 +1,5 @@
#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
-#![cfg(feature = "utils")]
+#![cfg(all(feature = "builder", feature = "utils"))]
#[macro_use]
extern crate serde_json;