Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
fix test: Assert variable override order
Browse files Browse the repository at this point in the history
  • Loading branch information
tazjin committed Apr 4, 2017
1 parent 746e733 commit 7286751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions context/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

0 comments on commit 7286751

Please sign in to comment.