Skip to content

Commit

Permalink
Update script_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored and tekton-robot committed Dec 3, 2019
1 parent 7cecdeb commit 701f877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pod/script_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestConvertScripts(t *testing.T) {
Container: corev1.Container{
Image: "step-3",
VolumeMounts: preExistingVolumeMounts,
Args: []string{"my", "args"},
Args: []string{"my", "args"},
},
}})
wantInit := &corev1.Container{
Expand Down Expand Up @@ -96,7 +96,7 @@ script-heredoc-randomly-generated-6nl7g
}, {
Image: "step-3",
Command: []string{"/tekton/scripts/script-2-78c5n"},
Args: []string{"my", "args"},
Args: []string{"my", "args"},
VolumeMounts: append(preExistingVolumeMounts, scriptsVolumeMount),
}}
if d := cmp.Diff(wantInit, gotInit); d != "" {
Expand Down

0 comments on commit 701f877

Please sign in to comment.