summaryrefslogtreecommitdiffstats
path: root/tests/construction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/construction.rs')
-rw-r--r--tests/construction.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/construction.rs b/tests/construction.rs
index 459e5a8..698d06a 100644
--- a/tests/construction.rs
+++ b/tests/construction.rs
@@ -1,7 +1,9 @@
mod common;
-use common::{ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113,
- new_ads1014, destroy_ads1014, new_ads1114, destroy_ads1114,
- new_ads1015, destroy_ads1015, new_ads1115, destroy_ads1115 };
+use common::{
+ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113,
+ new_ads1014, destroy_ads1014, new_ads1114, destroy_ads1114,
+ new_ads1015, destroy_ads1015, new_ads1115, destroy_ads1115
+};
macro_rules! impl_tests {
($IC:ident, $create:ident, $destroy:ident) => {
@@ -13,7 +15,7 @@ macro_rules! impl_tests {
$destroy(dev);
}
}
- }
+ };
}
impl_tests!(ads1013, new_ads1013, destroy_ads1013);