(t *gotesting.T)
| 30 | } |
| 31 | |
| 32 | func TestNewEnvFromConf(t *gotesting.T) { |
| 33 | t.Parallel() |
| 34 | for _, c := range cases { |
| 35 | t.Run(c.name, func(t *gotesting.T) { |
| 36 | env := NewEnvFromConf(MapAdapter(map[string]interface{}{ |
| 37 | "env": c.env, |
| 38 | })) |
| 39 | assert.Equal(t, c.want, env) |
| 40 | }) |
| 41 | } |
| 42 | } |
nothing calls this directly
no test coverage detected