aboutsummaryrefslogtreecommitdiff
path: root/tests/test_channels.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-11-01 13:10:16 -0700
committerZeyla Hellyer <[email protected]>2017-11-01 13:10:16 -0700
commit2c59f87c1408ef633b8749f6688dc42129054a36 (patch)
treeae94858d2a86dd23c0f4ad64c369069909c90050 /tests/test_channels.rs
parentFix no-client cache tests (diff)
downloadserenity-2c59f87c1408ef633b8749f6688dc42129054a36.tar.xz
serenity-2c59f87c1408ef633b8749f6688dc42129054a36.zip
Fix doctests for a variety of feature targets
Diffstat (limited to 'tests/test_channels.rs')
-rw-r--r--tests/test_channels.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_channels.rs b/tests/test_channels.rs
index 7a3f9c3..d871d5d 100644
--- a/tests/test_channels.rs
+++ b/tests/test_channels.rs
@@ -1,3 +1,5 @@
+#![cfg(feature = "model")]
+
extern crate serenity;
#[cfg(feature = "utils")]