Skip to content

Commit

Permalink
golang format tools
Browse files Browse the repository at this point in the history
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
  • Loading branch information
mattmoor-sockpuppet authored and knative-prow-robot committed Jan 25, 2019
1 parent d1c5ef3 commit e5aaa6f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func TestGetResourcesFromBindings(t *testing.T) {
t.Fatalf("didn't expect error getting resources from bindings but got: %v", err)
}
expectedResources := map[string]v1alpha1.PipelineResourceRef{
"git-resource": v1alpha1.PipelineResourceRef{
"git-resource": {
Name: "sweet-resource",
},
}
Expand Down Expand Up @@ -328,7 +328,7 @@ func TestResolvePipelineRun(t *testing.T) {
),
))
providedResources := map[string]v1alpha1.PipelineResourceRef{
"git-resource": v1alpha1.PipelineResourceRef{
"git-resource": {
Name: "someresource",
},
}
Expand Down Expand Up @@ -520,7 +520,7 @@ func TestResolvePipelineRun_ResourcesDontExist(t *testing.T) {
},
}
providedResources := map[string]v1alpha1.PipelineResourceRef{
"git-resource": v1alpha1.PipelineResourceRef{
"git-resource": {
Name: "doesnt-exist",
},
}
Expand Down

0 comments on commit e5aaa6f

Please sign in to comment.