aboutsummaryrefslogtreecommitdiff
path: root/config/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config_test.go')
-rw-r--r--config/config_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config_test.go b/config/config_test.go
index 5679d06..be24a21 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -19,6 +19,12 @@ func TestLoadFile(t *testing.T) {
t.Fatal("invalid_yaml config file failed without error")
}
+ // Minimal yaml file
+ _, err = LoadFile("test_data/minimal.yaml")
+ if err != nil {
+ t.Fatal("minimal config file should load without errors")
+ }
+
// TODO test non existant game in play actions, and duplicate
//menuEntry = MenuEntry{
//Key: "p",