mod items need to be marked with cfg(test)
not test
.
This commit is contained in:
parent
5f1a90ebe7
commit
c14aa7eba8
@ -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…
Reference in New Issue
Block a user