diff --git a/viper_test.go b/viper_test.go index b508dfa..441369d 100644 --- a/viper_test.go +++ b/viper_test.go @@ -323,6 +323,7 @@ func TestAliasInConfigFile(t *testing.T) { } func TestUnSetAliases(t *testing.T) { + Set("age", 40) RegisterAlias("years", "age") assert.Equal(t, 40, Get("years")) UnregisterAlias("years")