fix config toml
This commit is contained in:
parent
85e67995ef
commit
79b21e38ec
|
@ -27,7 +27,7 @@ mod test {
|
||||||
height: 9,
|
height: 9,
|
||||||
tick: 400,
|
tick: 400,
|
||||||
starting_room: Some("example room".to_string()),
|
starting_room: Some("example room".to_string()),
|
||||||
version: (0, 0)
|
version: (0, 1)
|
||||||
};
|
};
|
||||||
assert_eq!(output, expected);
|
assert_eq!(output, expected);
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ mod test {
|
||||||
height: 9,
|
height: 9,
|
||||||
tick: 400,
|
tick: 400,
|
||||||
starting_room: Some("example room".to_string()),
|
starting_room: Some("example room".to_string()),
|
||||||
version: (0, 0)
|
version: (0, 1)
|
||||||
}).unwrap();
|
}).unwrap();
|
||||||
|
|
||||||
let expected = include_str!("test-resources/basic/game.toml");
|
let expected = include_str!("test-resources/basic/game.toml");
|
||||||
|
|
|
@ -3,3 +3,4 @@ width = 16
|
||||||
height = 9
|
height = 9
|
||||||
tick = 400
|
tick = 400
|
||||||
starting_room = "example room"
|
starting_room = "example room"
|
||||||
|
version = [0, 1]
|
||||||
|
|
Loading…
Reference in New Issue