fix test: Assert variable override order

This commit is contained in:
Vincent Ambo 2017-04-04 14:38:00 +02:00
parent 746e733cbb
commit 7286751db7

View file

@ -153,4 +153,9 @@ func TestDefaultValuesLoading(t *testing.T) {
t.Errorf("Default values not loaded from YAML file")
t.Fail()
}
if rs.Values["override"] != "notAtAll" {
t.Error("Default values should not override other values")
t.Fail()
}
}