(t *testing.T)
| 695 | } |
| 696 | |
| 697 | func TestAutoEnv(t *testing.T) { |
| 698 | v := New() |
| 699 | |
| 700 | v.AutomaticEnv() |
| 701 | |
| 702 | t.Setenv("FOO_BAR", "13") |
| 703 | |
| 704 | assert.Equal(t, "13", v.Get("foo_bar")) |
| 705 | } |
| 706 | |
| 707 | func TestAutoEnvWithPrefix(t *testing.T) { |
| 708 | v := New() |
nothing calls this directly
no test coverage detected