mod items need to be marked with cfg(test) not test.
This commit is contained in:
parent
5f1a90ebe7
commit
c14aa7eba8
1 changed files with 2 additions and 2 deletions
|
|
@ -833,7 +833,7 @@ pub impl <T:Hash + Eq> HashSet<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(test)]
|
||||
mod test_map {
|
||||
use container::{Container, Map, Set};
|
||||
use option::{None, Some};
|
||||
|
|
@ -1009,7 +1009,7 @@ mod test_map {
|
|||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(test)]
|
||||
mod test_set {
|
||||
use super::*;
|
||||
use container::{Container, Map, Set};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue