From 79b21e38ecf83aacd89e8c32c6e372892510d4a1 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Mon, 17 May 2021 15:10:59 +0100 Subject: [PATCH] fix config toml --- src/config.rs | 4 ++-- src/test-resources/basic/game.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index c59b2be..c034769 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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"); diff --git a/src/test-resources/basic/game.toml b/src/test-resources/basic/game.toml index d269e4f..6b9644b 100644 --- a/src/test-resources/basic/game.toml +++ b/src/test-resources/basic/game.toml @@ -3,3 +3,4 @@ width = 16 height = 9 tick = 400 starting_room = "example room" +version = [0, 1]