Apply "go fmt" to lint_test.go
Change-Id: I600fa3a370291b8d7ea80c8e0eedd32db3b9e341
diff --git a/lint/lint_test.go b/lint/lint_test.go
index ac1fc3b..d3ad33a 100644
--- a/lint/lint_test.go
+++ b/lint/lint_test.go
@@ -32,10 +32,10 @@
func TestCheckMessage(t *testing.T) {
type testcase struct {
- message []string
+ message []string
warnings []gerrit.Comment
}
- tests := []testcase {
+ tests := []testcase{
{
message: []string{
strings.Repeat("x", 60),
@@ -52,7 +52,7 @@
},
warnings: []gerrit.Comment{
gerrit.Comment{
- Line: 7,
+ Line: 7,
Message: "[warning] Commit message lines should be 72 characters or fewer.",
},
},
@@ -66,7 +66,7 @@
},
warnings: []gerrit.Comment{
gerrit.Comment{
- Line: 8,
+ Line: 8,
Message: "[warning] Subject line and body should be separated by a blank line.",
},
},