fix test for new bitsy version
This commit is contained in:
parent
f08f0fdc16
commit
4ebfec02ef
|
@ -925,7 +925,12 @@ mod test {
|
||||||
let mut game = crate::mock::game_default();
|
let mut game = crate::mock::game_default();
|
||||||
game.add_item(crate::mock::item());
|
game.add_item(crate::mock::item());
|
||||||
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]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue