Use #[cfg(test)] instead of #[test].
This commit is contained in:
parent
0c1af624a7
commit
11d6d0259a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue