This commit is contained in:
Victor Noel
2019-10-03 17:53:14 +02:00
parent 4ce8b8db81
commit db12a77e6c
9 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ var isSrcValidTests = []struct {
func Test_IsSrcsValid(t *testing.T) {
for _, test := range isSrcValidTests {
t.Run(test.name, func(t *testing.T) {
if err := GetExcludedFiles(buildContextPath); err != nil {
if err := GetExcludedFiles("", buildContextPath); err != nil {
t.Fatalf("error getting excluded files: %v", err)
}
err := IsSrcsValid(test.srcsAndDest, test.resolvedSources, buildContextPath)