summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/common/mod.rs1
-rw-r--r--tests/construction.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 4a39097..d81494f 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -3,6 +3,7 @@ use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
extern crate ads1x1x;
use self::ads1x1x::{ Ads1x1x, interface, ic, SlaveAddr, mode };
+#[allow(unused)]
pub const DEVICE_ADDRESS : u8 = 0b100_1000;
pub struct Register;
diff --git a/tests/construction.rs b/tests/construction.rs
index cb5d9cd..459e5a8 100644
--- a/tests/construction.rs
+++ b/tests/construction.rs
@@ -1,4 +1,3 @@
-#[allow(unused)]
mod common;
use common::{ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113,
new_ads1014, destroy_ads1014, new_ads1114, destroy_ads1114,