diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-04-04T12·38+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-04-04T18·06+0200 |
commit | 7286751db75187533c0c83dbd46162c14ca935a4 (patch) | |
tree | ecce64a780e734745673f50a7c3a5eca923c3ca2 /context | |
parent | 746e733cbbc8aef939eb2c3a695d5c41bbb4cb5a (diff) |
fix test: Assert variable override order
Diffstat (limited to 'context')
-rw-r--r-- | context/context_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/context/context_test.go b/context/context_test.go index 8da30c9a89b0..c5b5e7f12611 100644 --- a/context/context_test.go +++ b/context/context_test.go @@ -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() + } } |