Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
othomann committed Feb 13, 2020
1 parent 067c5e6 commit 39b676b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/apis/pipeline/v1alpha2/param_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression that is a result ref",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "$(tasks.sumTasks.results.sumResult)",
Expand All @@ -348,7 +348,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression: looks like result ref, but typo in 'task' separator",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "$(task.sumTasks.results.sumResult)",
Expand All @@ -360,7 +360,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression: looks like result ref, but typo in 'results' separator",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "$(tasks.sumTasks.result.sumResult)",
Expand All @@ -372,7 +372,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression: missing 'task' separator",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "$(sumTasks.results.sumResult)",
Expand All @@ -384,7 +384,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression: missing variable substitution",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "tasks.sumTasks.results.sumResult",
Expand All @@ -396,7 +396,7 @@ func TestLooksLikeResultRef(t *testing.T) {
name: "test expression: param substitution shouldn't be considered result ref",
args: args{
param: v1alpha2.Param{
Name: "param",
Name: "param",
Value: v1alpha2.ArrayOrString{
Type: v1alpha2.ParamTypeString,
StringVal: "$(params.someParam)",
Expand Down

0 comments on commit 39b676b

Please sign in to comment.