Add another testcase (#3035)

Actually wanted to add this to #3030 but @6543 was too fast…
This commit is contained in:
qwerty287
2023-12-27 10:51:39 +01:00
committed by GitHub
parent 8c4480f281
commit 05f26bab00

View File

@@ -23,4 +23,9 @@ func TestParse(t *testing.T) {
env, err = service.EnvironList(nil)
assert.NoError(t, err)
assert.Len(t, env, 2)
service = Parse([]string{"ENV:value", "ENV2:value2", "ENV3_WITHOUT_VALUE"})
env, err = service.EnvironList(nil)
assert.NoError(t, err)
assert.Len(t, env, 2)
}