Skip to content

Commit

Permalink
Fix flaky test_serialize_maps. (#9352)
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-near authored Jul 26, 2023
1 parent b46624d commit e9d771a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nearcore/src/entity_debug_serializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,7 @@ mod tests {
use std::collections::HashMap;
let mut map = HashMap::new();
map.insert("a".to_owned(), 1);
map.insert("b".to_owned(), 2);
assert_eq!(serialize_entity(&map), tree(vec![("a", val("1")), ("b", val("2"))]));
assert_eq!(serialize_entity(&map), tree(vec![("a", val("1"))]));
}

#[test]
Expand Down

0 comments on commit e9d771a

Please sign in to comment.