(t *testing.T)
| 131 | } |
| 132 | |
| 133 | func TestValueSourceChainEnvKeys(t *testing.T) { |
| 134 | chain := NewValueSourceChain( |
| 135 | &staticValueSource{"hello"}, |
| 136 | ) |
| 137 | chain.Append(EnvVars("foo", "bar")) |
| 138 | |
| 139 | r := require.New(t) |
| 140 | r.Equal([]string{"foo", "bar"}, chain.EnvKeys()) |
| 141 | } |
| 142 | |
| 143 | func TestValueSourceChain(t *testing.T) { |
| 144 | t.Run("implements ValueSource", func(t *testing.T) { |
nothing calls this directly
no test coverage detected