(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestConvertEnvironment(t *testing.T) { |
| 74 | source := map[string]*string{ |
| 75 | "foo": strPtr("bar"), |
| 76 | "key": strPtr("value"), |
| 77 | } |
| 78 | env := convertEnvironment(source) |
| 79 | assert.Check(t, is.DeepEqual([]string{"foo=bar", "key=value"}, env)) |
| 80 | } |
| 81 | |
| 82 | func TestConvertEnvironmentWhenNilValueExists(t *testing.T) { |
| 83 | source := map[string]*string{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…