Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Oct 20, 2023
1 parent 4f87b19 commit e1768b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workflow/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func TestSharedInput(t *testing.T) {
}

var missingInputWorkflowDefinition1 = `
version: v0.1.0
input:
root: RootObject
objects:
Expand All @@ -132,6 +133,7 @@ outputs:
`

var missingInputWorkflowDefinition2 = `
version: v0.1.0
input:
root: RootObject
objects:
Expand All @@ -157,6 +159,7 @@ func TestMissingInput(t *testing.T) {
}

var mismatchedStepInputTypesWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down Expand Up @@ -186,6 +189,7 @@ func TestMismatchedStepInputTypes(t *testing.T) {
}

var mismatchedInputTypesWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down
5 changes: 5 additions & 0 deletions workflow/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func TestStepCancellation(t *testing.T) {
}

var earlyStepCancellationWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down Expand Up @@ -155,6 +156,7 @@ func TestEarlyStepCancellation(t *testing.T) {
}

var deploymentStepCancellationWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down Expand Up @@ -216,6 +218,7 @@ func TestDeploymentStepCancellation(t *testing.T) {
}

var simpleValidLiteralInputWaitWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down Expand Up @@ -399,6 +402,7 @@ func TestWaitForParallel(t *testing.T) {
}

var missingInputsFailedDeploymentWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down Expand Up @@ -437,6 +441,7 @@ func TestMissingInputsFailedDeployment(t *testing.T) {
}

var missingInputsWrongOutputWorkflowDefinition = `
version: v0.1.0
input:
root: RootObject
objects:
Expand Down

0 comments on commit e1768b5

Please sign in to comment.