Rollup merge of #22157 - tbu-:pr_debug_collections, r=alexcrichton

r? @Gankro
This commit is contained in:
Manish Goregaokar 2015-02-25 10:29:23 +05:30
commit c950ee93c9
10 changed files with 29 additions and 29 deletions

View file

@ -24,6 +24,6 @@ pub fn main() {
let mut table = HashMap::new();
table.insert("one".to_string(), 1);
table.insert("two".to_string(), 2);
assert!(check_strs(&format!("{:?}", table), "HashMap {\"one\": 1, \"two\": 2}") ||
check_strs(&format!("{:?}", table), "HashMap {\"two\": 2, \"one\": 1}"));
assert!(check_strs(&format!("{:?}", table), "{\"one\": 1, \"two\": 2}") ||
check_strs(&format!("{:?}", table), "{\"two\": 2, \"one\": 1}"));
}