From 62308e98a35f7c49518dacaed7a9bfb6eb4d79e2 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Thu, 16 Nov 2017 12:55:37 -0800 Subject: [PATCH] Test modules filtering bug that was fixed in #193 --- server/events/project_finder_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/events/project_finder_test.go b/server/events/project_finder_test.go index 11260d16..dee8cdba 100644 --- a/server/events/project_finder_test.go +++ b/server/events/project_finder_test.go @@ -29,9 +29,9 @@ func TestGetModified_NoFiles(t *testing.T) { nil, }, { - "Should ignore .tf files in a module directory and return an empty list", - []string{"_modules/file.tf", "modules/file.tf", "parent/_modules/file.tf", "parent/modules/file.tf"}, - nil, + "Should ignore .tf files in module directories", + []string{"_modules/file.tf", "modules/file.tf", "parent/_modules/file.tf", "parent/modules/file.tf", "main.tf"}, + []string{"."}, }, { "Should ignore tfstate files and return an empty list",