summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:54:02 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:54:02 +0100
commitdb3661fc68768e1d22da03d3237a0dea50051149 (patch)
tree1d40bdc6ed7164179cc71905b539b1f6dc2f7e04
parentf08055d688c934f9a45293210f6f4155d31b94e0 (diff)
downloadads1x1x-async-db3661fc68768e1d22da03d3237a0dea50051149.tar.gz
ads1x1x-async-db3661fc68768e1d22da03d3237a0dea50051149.tar.xz
ads1x1x-async-db3661fc68768e1d22da03d3237a0dea50051149.zip
Remove unnecessary statements
-rw-r--r--tests/construction.rs1
-rw-r--r--tests/mux.rs1
-rw-r--r--tests/tier2.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/tests/construction.rs b/tests/construction.rs
index 67bab52..cb5d9cd 100644
--- a/tests/construction.rs
+++ b/tests/construction.rs
@@ -1,4 +1,3 @@
-#[macro_use]
#[allow(unused)]
mod common;
use common::{ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113,
diff --git a/tests/mux.rs b/tests/mux.rs
index f448f04..f67690f 100644
--- a/tests/mux.rs
+++ b/tests/mux.rs
@@ -6,7 +6,6 @@ use hal::i2c::Transaction as I2cTrans;
extern crate ads1x1x;
use ads1x1x::channel;
-#[macro_use]
mod common;
use common::{ new_ads1015 as new, destroy_ads1015 as destroy,
DEVICE_ADDRESS as DEV_ADDR, Register, BitFlags as BF, Config };
diff --git a/tests/tier2.rs b/tests/tier2.rs
index 21a0e86..62a9759 100644
--- a/tests/tier2.rs
+++ b/tests/tier2.rs
@@ -4,7 +4,6 @@ extern crate ads1x1x;
use ads1x1x::{ FullScaleRange, ComparatorMode, ComparatorPolarity,
ComparatorLatching, ComparatorQueue };
-#[macro_use]
mod common;
use common::{ new_ads1014, destroy_ads1014,
DEVICE_ADDRESS as DEV_ADDR, Register, BitFlags, Config };