Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
Fauzyy committed May 8, 2020
1 parent bebfdca commit 3060bb0
Showing 1 changed file with 66 additions and 66 deletions.
132 changes: 66 additions & 66 deletions server/events_controller_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply.txt"},
{"exp-output-merge.txt"},
},
ExpAutoplan: true,
},
Expand All @@ -91,10 +91,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -107,10 +107,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-atlantis-plan-var-overridden.txt"},
[]string{"exp-output-apply-var.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-atlantis-plan-var-overridden.txt"},
{"exp-output-apply-var.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -125,12 +125,12 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -w new_workspace",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-atlantis-plan.txt"},
[]string{"exp-output-atlantis-plan-new-workspace.txt"},
[]string{"exp-output-apply-var-default-workspace.txt"},
[]string{"exp-output-apply-var-new-workspace.txt"},
[]string{"exp-output-merge-workspaces.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-atlantis-plan.txt"},
{"exp-output-atlantis-plan-new-workspace.txt"},
{"exp-output-apply-var-default-workspace.txt"},
{"exp-output-apply-var-new-workspace.txt"},
{"exp-output-merge-workspaces.txt"},
},
},
{
Expand All @@ -144,11 +144,11 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-atlantis-plan.txt"},
[]string{"exp-output-atlantis-plan-new-workspace.txt"},
[]string{"exp-output-apply-var-all.txt"},
[]string{"exp-output-merge-workspaces.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-atlantis-plan.txt"},
{"exp-output-atlantis-plan-new-workspace.txt"},
{"exp-output-apply-var-all.txt"},
{"exp-output-merge-workspaces.txt"},
},
},
{
Expand All @@ -161,10 +161,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -w default",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-apply-default.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-apply-default.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -176,9 +176,9 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-all.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-all.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -191,10 +191,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-all.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-all.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -206,9 +206,9 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -d staging",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan-only-staging.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-merge-only-staging.txt"},
{"exp-output-autoplan-only-staging.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-merge-only-staging.txt"},
},
},
{
Expand All @@ -223,11 +223,11 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -d production",
},
ExpReplies: [][]string{
[]string{"exp-output-plan-staging.txt"},
[]string{"exp-output-plan-production.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-apply-production.txt"},
[]string{"exp-output-merge-all-dirs.txt"},
{"exp-output-plan-staging.txt"},
{"exp-output-plan-production.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-apply-production.txt"},
{"exp-output-merge-all-dirs.txt"},
},
},
{
Expand All @@ -240,10 +240,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -d production",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-apply-production.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-apply-production.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -256,10 +256,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -p default",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-apply-default.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-apply-default.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -274,11 +274,11 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -p default",
},
ExpReplies: [][]string{
[]string{"exp-output-plan-staging.txt"},
[]string{"exp-output-plan-default.txt"},
[]string{"exp-output-apply-staging.txt"},
[]string{"exp-output-apply-default.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-plan-staging.txt"},
{"exp-output-plan-default.txt"},
{"exp-output-apply-staging.txt"},
{"exp-output-apply-default.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -292,11 +292,11 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -d dir2",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-dir1.txt"},
[]string{"exp-output-apply-dir2.txt"},
[]string{"exp-output-automerge.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-dir1.txt"},
{"exp-output-apply-dir2.txt"},
{"exp-output-automerge.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -310,10 +310,10 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply -w default",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan.txt"},
[]string{"exp-output-apply-staging-workspace.txt"},
[]string{"exp-output-apply-default-workspace.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan.txt"},
{"exp-output-apply-staging-workspace.txt"},
{"exp-output-apply-default-workspace.txt"},
{"exp-output-merge.txt"},
},
},
{
Expand All @@ -326,9 +326,9 @@ func TestGitHubWorkflow(t *testing.T) {
"atlantis apply",
},
ExpReplies: [][]string{
[]string{"exp-output-autoplan-staging.txt", "exp-output-autoplan-production.txt"},
[]string{"exp-output-apply-all-staging.txt", "exp-output-apply-all-production.txt"},
[]string{"exp-output-merge.txt"},
{"exp-output-autoplan-staging.txt", "exp-output-autoplan-production.txt"},
{"exp-output-apply-all-staging.txt", "exp-output-apply-all-production.txt"},
{"exp-output-merge.txt"},
},
},
}
Expand Down

0 comments on commit 3060bb0

Please sign in to comment.