diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-04-30 13:02:29 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-05-02 08:55:08 +0200 |
| commit | c14aa7eba88a3d0a26513dbb2a3acdcdcfc5072d (patch) | |
| tree | 756d3fadf3a7f250b4aa484d69cf02db6a72b1fa /src | |
| parent | 5f1a90ebe7ea3d3102dbffcaabaf8803d650db80 (diff) | |
| download | rust-c14aa7eba88a3d0a26513dbb2a3acdcdcfc5072d.tar.gz rust-c14aa7eba88a3d0a26513dbb2a3acdcdcfc5072d.zip | |
mod items need to be marked with `cfg(test)` not `test`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/hashmap.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/hashmap.rs b/src/libcore/hashmap.rs index 41f4f34dc19..9b82a8dad05 100644 --- a/src/libcore/hashmap.rs +++ b/src/libcore/hashmap.rs @@ -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}; |
