From a1125a3b14f700ed70676ca55b388f0b93d79e5a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 16 Jun 2020 22:56:59 +0200 Subject: [PATCH] Little fix in formatting --- pkg/update/automated.go | 2 +- pkg/update/automated_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/update/automated.go b/pkg/update/automated.go index 887204e01..e4bc129e3 100644 --- a/pkg/update/automated.go +++ b/pkg/update/automated.go @@ -80,7 +80,7 @@ func (a *Automated) CommitMessage(result Result) string { fmt.Fprintf(buf, " - %s\n", im) } if total > limit { - fmt.Fprintln(buf, " ...") + fmt.Fprintln(buf, " ...") } } return buf.String() diff --git a/pkg/update/automated_test.go b/pkg/update/automated_test.go index 7d4904aec..740eab6ee 100644 --- a/pkg/update/automated_test.go +++ b/pkg/update/automated_test.go @@ -67,7 +67,7 @@ func TestCommitMessage10Max(t *testing.T) { - docker.io/image:v6 - docker.io/image:v7 - docker.io/image:v8 - ... + ... ` if actual != expected { t.Fatalf("Expected git commit message: '%s', was '%s'", expected, actual)