From 7286751db75187533c0c83dbd46162c14ca935a4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 4 Apr 2017 14:38:00 +0200 Subject: fix test: Assert variable override order --- context/context_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'context/context_test.go') 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() + } } -- cgit 1.4.1