Move the tests away from the code

This commit is contained in:
Luca Barbato
2019-09-17 18:38:19 +02:00
parent efd19f4a13
commit 8cad95c8ab
4 changed files with 153 additions and 143 deletions

View File

@@ -135,10 +135,3 @@ pub fn features() -> impl Iterator<Item = (&'static str, bool)> {
}
impl_()
}
#[test]
fn features_roundtrip() {
for (f, _) in features() {
let _ = Feature::from_str(f).unwrap();
}
}