Fix skeptic feature

This commit is contained in:
Alexandre Bury 2016-10-14 12:36:12 -07:00
parent 1987922ddb
commit ef76a75632
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#[cfg(skeptic)] #[cfg(feature = "skeptic")]
fn main() { fn main() {
extern crate skeptic; extern crate skeptic;
@ -8,5 +8,5 @@ fn main() {
"doc/tutorial_3.md" ]); "doc/tutorial_3.md" ]);
} }
#[cfg(not(skeptic))] #[cfg(not(feature = "skeptic"))]
fn main() {} fn main() {}

View File

@ -1 +1,2 @@
#[cfg(feature = "skeptic")]
include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs")); include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));