From 42cf6606fcb44863877bd9fa8846bd0afa3ab4d2 Mon Sep 17 00:00:00 2001 From: Nguyen Quang Huy Date: Wed, 27 Feb 2019 20:25:02 +0700 Subject: Fix error string should not be capitalized (#2608) From [Golang coding convention](https://github.com/golang/go/wiki/CodeReviewComments#error-strings) Co-Authored-By: Nguyen Van Trung [trungnvfet@outlook.com](mailto:trungnvfet@outlook.com) Signed-off-by: Nguyen Quang Huy [huynq0911@gmail.com](mailto:huynq0911@gmail.com) --- test/external_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/external_test.go') diff --git a/test/external_test.go b/test/external_test.go index f5737e17b..8e6adab91 100644 --- a/test/external_test.go +++ b/test/external_test.go @@ -44,7 +44,7 @@ func run(t *testing.T, c *exec.Cmd) ([]byte, error) { c.Dir = ".." out, err := c.Output() if err != nil { - return nil, fmt.Errorf("Run: failed to run %s %s: %q", c.Args[0], c.Args[1], err) + return nil, fmt.Errorf("run: failed to run %s %s: %q", c.Args[0], c.Args[1], err) } return out, nil -- cgit v1.2.3