diff --git a/tests/alarms.rs b/tests/alarms.rs index 6234ca8..f182fb8 100644 --- a/tests/alarms.rs +++ b/tests/alarms.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; use hal::i2c::Transaction as I2cTrans; use hal::spi::Transaction as SpiTrans; diff --git a/tests/configuration.rs b/tests/configuration.rs index 162df0d..066c8be 100644 --- a/tests/configuration.rs +++ b/tests/configuration.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; use hal::i2c::Transaction as I2cTrans; use hal::spi::Transaction as SpiTrans; diff --git a/tests/datetime.rs b/tests/datetime.rs index 9f81fca..51a60bb 100644 --- a/tests/datetime.rs +++ b/tests/datetime.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; use hal::i2c::Transaction as I2cTrans; use hal::spi::Transaction as SpiTrans; @@ -171,4 +169,3 @@ mod datetime { invalid_dt_test!(too_big_min, 2018, 8, 13, 2, Hours::H24(24), 60, 58); invalid_dt_test!(too_big_seconds, 2018, 8, 13, 2, Hours::H24(24), 59, 60); } - diff --git a/tests/ds3231.rs b/tests/ds3231.rs index 8504292..d4ef9cd 100644 --- a/tests/ds3231.rs +++ b/tests/ds3231.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; diff --git a/tests/ds3232.rs b/tests/ds3232.rs index ec80ae4..0249814 100644 --- a/tests/ds3232.rs +++ b/tests/ds3232.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; diff --git a/tests/ds3234.rs b/tests/ds3234.rs index c7f8e59..ec57a2c 100644 --- a/tests/ds3234.rs +++ b/tests/ds3234.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; use hal::spi::Transaction as SpiTrans; extern crate ds323x; diff --git a/tests/status.rs b/tests/status.rs index fb733e2..cff3666 100644 --- a/tests/status.rs +++ b/tests/status.rs @@ -1,5 +1,3 @@ -#[deny(warnings)] - extern crate embedded_hal_mock as hal; use hal::i2c::Transaction as I2cTrans; use hal::spi::Transaction as SpiTrans;