mirror of
https://github.com/spf13/viper
synced 2025-05-11 22:57:21 +00:00
Update viper_test.go
This commit is contained in:
parent
6999737484
commit
49a69a17ee
1 changed files with 2 additions and 0 deletions
|
@ -466,6 +466,8 @@ func TestHCL(t *testing.T) {
|
||||||
func TestIni(t *testing.T) {
|
func TestIni(t *testing.T) {
|
||||||
initIni()
|
initIni()
|
||||||
assert.Equal(t, "ini", Get("default.name"))
|
assert.Equal(t, "ini", Get("default.name"))
|
||||||
|
Set("set.boolKey", true)
|
||||||
|
assert.Equal(t, true, Get("set.boolKey"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRemotePrecedence(t *testing.T) {
|
func TestRemotePrecedence(t *testing.T) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue