Update viper_test.go

This commit is contained in:
zhangyongding 2020-06-02 17:40:56 +08:00 committed by GitHub
parent 6999737484
commit 49a69a17ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -466,6 +466,8 @@ func TestHCL(t *testing.T) {
func TestIni(t *testing.T) {
initIni()
assert.Equal(t, "ini", Get("default.name"))
Set("set.boolKey", true)
assert.Equal(t, true, Get("set.boolKey"))
}
func TestRemotePrecedence(t *testing.T) {