aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-10-14 22:41:25 +0200
committeracdenisSK <[email protected]>2017-10-14 22:41:25 +0200
commitcae014758a1d1e926a71679f02e32601c57f8d52 (patch)
tree39270dbc2df916a91c3c4272600fd082a2604516 /tests
parentSwitch to parking_lot::{Mutex, RwLock} (diff)
parentRelease v0.4.1 (diff)
downloadserenity-cae014758a1d1e926a71679f02e32601c57f8d52.tar.xz
serenity-cae014758a1d1e926a71679f02e32601c57f8d52.zip
Update to account for changes made in 0.4.1
Diffstat (limited to 'tests')
-rw-r--r--tests/test_colour.rs2
-rw-r--r--tests/test_create_embed.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_colour.rs b/tests/test_colour.rs
index c26bf23..2b36562 100644
--- a/tests/test_colour.rs
+++ b/tests/test_colour.rs
@@ -1,4 +1,4 @@
-#![allow(unreadable_literal)]
+#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
#![cfg(feature = "utils")]
extern crate serenity;
diff --git a/tests/test_create_embed.rs b/tests/test_create_embed.rs
index e20308e..8cc0de7 100644
--- a/tests/test_create_embed.rs
+++ b/tests/test_create_embed.rs
@@ -1,4 +1,4 @@
-#![allow(unreadable_literal)]
+#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
#![cfg(feature = "utils")]
#[macro_use]