fix config toml

This commit is contained in:
Max Bradbury 2021-05-17 15:10:59 +01:00
parent 85e67995ef
commit 79b21e38ec
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ mod test {
height: 9,
tick: 400,
starting_room: Some("example room".to_string()),
version: (0, 0)
version: (0, 1)
};
assert_eq!(output, expected);
}
@ -40,7 +40,7 @@ mod test {
height: 9,
tick: 400,
starting_room: Some("example room".to_string()),
version: (0, 0)
version: (0, 1)
}).unwrap();
let expected = include_str!("test-resources/basic/game.toml");

View File

@ -3,3 +3,4 @@ width = 16
height = 9
tick = 400
starting_room = "example room"
version = [0, 1]