Use #[cfg(test)] instead of #[test].

This commit is contained in:
Brendan Zabarauskas 2013-05-22 16:46:27 +10:00
parent 0c1af624a7
commit 11d6d0259a

View file

@ -18,7 +18,7 @@ pub mod vec;
pub mod projection; pub mod projection;
#[test] #[cfg(test)]
mod test { mod test {
#[path = "test_mat.rs" ] mod mat; #[path = "test_mat.rs" ] mod mat;
#[path = "test_quat.rs"] mod quat; #[path = "test_quat.rs"] mod quat;