Allow FilePath to take []string

This commit is contained in:
Jacob McCann
2017-10-26 13:08:03 -05:00
parent 18a556e192
commit f971fca2b2
2 changed files with 10 additions and 14 deletions

View File

@@ -1316,7 +1316,7 @@ func TestFlagFromFile(t *testing.T) {
{"file-does-not-exist", "APP_BAR", ""},
{"file-does-not-exist", "APP_FOO", "123"},
{"file-does-not-exist", "APP_FOO,APP_BAR", "123"},
{temp.Name(), "APP_FOO", "abc"},
{temp.Name(), "APP_FOO", "123"},
{temp.Name(), "APP_BAR", "abc"},
}