File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ impl<A:ToStr> ToStr for @[A] {
144
144
#[cfg(test)]
145
145
#[allow(non_implicitly_copyable_typarams)]
146
146
mod tests {
147
+ use hashmap::HashMap;
147
148
#[test]
148
149
fn test_simple_types() {
149
150
assert!(1i.to_str() == ~" 1 ") ;
@@ -174,15 +175,15 @@ mod tests {
174
175
~" [ [ ] , [ 1 ] , [ 1 , 1 ] ] ");
175
176
}
176
177
177
- #[test]
178
- fn test_hashmap() {
179
- let mut table: HashMap<int, int> = HashMap::new();
180
- let mut empty: HashMap<int, int> = HashMap::new();
178
+ // #[test]
179
+ // fn test_hashmap() {
180
+ // let mut table: HashMap<int, int> = HashMap::new();
181
+ // let mut empty: HashMap<int, int> = HashMap::new();
181
182
182
- table.insert(3, 4);
183
- table.insert(1, 2);
183
+ // table.insert(3, 4);
184
+ // table.insert(1, 2);
184
185
185
- assert!(table.to_str() == ~" { 1 : 2 , 3 : 4 } ");
186
- assert!(empty.to_str() == ~" { } " ) ;
187
- }
188
- }
186
+ // assert!(table.to_str() == ~" { 1 : 2 , 3 : 4 } ");
187
+ // assert!(empty.to_str() == ~" { } " ) ;
188
+ // }
189
+ }
You can’t perform that action at this time.
0 commit comments