fix test for new bitsy version

This commit is contained in:
Max Bradbury 2020-07-19 08:45:57 +01:00
parent f08f0fdc16
commit 4ebfec02ef
1 changed files with 6 additions and 1 deletions

View File

@ -925,7 +925,12 @@ mod test {
let mut game = crate::mock::game_default();
game.add_item(crate::mock::item());
game.add_item(crate::mock::item());
assert_eq!(game.item_ids(), vec!["0".to_string(), "6".to_string(), "1".to_string()]);
let expected = vec![
"0".to_string(), "1".to_string(), "6".to_string(), "2".to_string()
];
assert_eq!(game.item_ids(), expected);
}
#[test]