Skip to content

Commit e9ff656

Browse files
committed
commit_test: tidy
This script was not tidy according to goimports, so tidy it.
1 parent 961a58c commit e9ff656

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commit_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ func TestCommitDecodingWithEmptyName(t *testing.T) {
119119
}
120120

121121
func TestCommitDecodingWithLargeCommitMessage(t *testing.T) {
122-
message := "This message text is, with newline, exactly 64 characters long. ";
122+
message := "This message text is, with newline, exactly 64 characters long. "
123123
// This message will be exactly 1 MiB in size when part of the commit.
124-
longMessage := strings.Repeat(message, (1024 * 1024 / 64) - 1)
125-
longMessage += strings.TrimSpace(message);
124+
longMessage := strings.Repeat(message, (1024*1024/64)-1)
125+
longMessage += strings.TrimSpace(message)
126126

127127
author := &Signature{Name: "", Email: "[email protected]", When: time.Now()}
128128
committer := &Signature{Name: "", Email: "[email protected]", When: time.Now()}

0 commit comments

Comments
 (0)