From a99446e290f038900b893e21362c6ff766c30f5e Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Mon, 6 Jul 2020 17:40:53 +0200 Subject: Minor linter fixes --- repository_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repository_test.go') diff --git a/repository_test.go b/repository_test.go index bbed604..2541cca 100644 --- a/repository_test.go +++ b/repository_test.go @@ -713,7 +713,7 @@ func (s *RepositorySuite) TestPlainCloneContextNonExistentWithNotEmptyDir(c *C) c.Assert(err, IsNil) dummyFile := filepath.Join(repoDirPath, "dummyFile") - err = ioutil.WriteFile(dummyFile, []byte(fmt.Sprint("dummyContent")), 0644) + err = ioutil.WriteFile(dummyFile, []byte("dummyContent"), 0644) c.Assert(err, IsNil) r, err := PlainCloneContext(ctx, repoDirPath, false, &CloneOptions{ -- cgit