Add failing test for override of empty var

This commit is contained in:
John Barton (joho) 2017-03-28 11:39:40 +11:00
parent eaf676fc03
commit cd1272609d

View File

@ -100,10 +100,12 @@ func TestLoadDoesNotOverride(t *testing.T) {
// ensure NO overload
presets := map[string]string{
"OPTION_A": "do_not_override",
"OPTION_B": "",
}
expectedValues := map[string]string{
"OPTION_A": "do_not_override",
"OPTION_B": "",
}
loadEnvAndCompareValues(t, Load, envFileName, expectedValues, presets)
}