From 39b676b8093f1603b052e27cc7a52fd3681a58c9 Mon Sep 17 00:00:00 2001 From: Olivier Thomann Date: Thu, 13 Feb 2020 09:35:57 -0500 Subject: [PATCH] Format code --- pkg/apis/pipeline/v1alpha2/param_types_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/apis/pipeline/v1alpha2/param_types_test.go b/pkg/apis/pipeline/v1alpha2/param_types_test.go index a0457b434f5..492815f9d08 100644 --- a/pkg/apis/pipeline/v1alpha2/param_types_test.go +++ b/pkg/apis/pipeline/v1alpha2/param_types_test.go @@ -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)", @@ -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)", @@ -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)", @@ -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)", @@ -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", @@ -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)",