forked from M-Labs/nalgebra
Fail test compilation if compare feature is missing
This commit is contained in:
parent
5869f784e5
commit
c988ebb4e7
@ -1,6 +1,6 @@
|
|||||||
//! Unit tests
|
//! Unit tests
|
||||||
#[cfg(not(feature = "proptest-support"))]
|
#[cfg(any(not(feature = "proptest-support"), not(feature = "compare")))]
|
||||||
compile_error!("Tests must be run with feature proptest-support");
|
compile_error!("Tests must be run with features `proptest-support` and `compare`");
|
||||||
|
|
||||||
mod unit_tests;
|
mod unit_tests;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user