Skip to content

Commit

Permalink
Remove redundant test cases from project_config_test.go
Browse files Browse the repository at this point in the history
This commit eliminates unnecessary test cases for modified files, specifically removing references to "aws/workspaces/main.tf" and "gcp/workspaces/main.tf". This streamlines the test suite by ensuring it only focuses on the relevant "workspaces/main.tf" file.
  • Loading branch information
adampie committed Sep 8, 2024
1 parent 5869614 commit 78cf6d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/tfc_trigger/project_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,10 @@ func TestProjectConfig_triggeredWorkspaces(t *testing.T) {
cfgYaml: tfbuddyYamlMultipleDirAndSubdir,
args: args{
modifiedFiles: []string{
"aws/workspaces/main.tf",
"gcp/workspaces/main.tf",
"workspaces/main.tf",
},
},
want: []*TFCWorkspace{
testLoadConfig(t, tfbuddyYamlMultipleDirAndSubdir).Workspaces[0],
testLoadConfig(t, tfbuddyYamlMultipleDirAndSubdir).Workspaces[1],
testLoadConfig(t, tfbuddyYamlMultipleDirAndSubdir).Workspaces[2],
},
},
Expand Down

0 comments on commit 78cf6d7

Please sign in to comment.