diff --git a/src/game.rs b/src/game.rs index 8d04a11..7f88788 100644 --- a/src/game.rs +++ b/src/game.rs @@ -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]