aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-07-16 21:29:58 +0200
committerGitHub <noreply@github.com>2020-07-16 21:29:58 +0200
commit641ee1dd69d3b8616127623e4b9341f4f4196d12 (patch)
treec37ce033ec64f0378acc2cde8ae59a54cdd74667 /repository_test.go
parent7906922c319b6077e8e66b70711073fb59a08a20 (diff)
parent8b8e4561eec882fad6e93d8e4257a9dc21311f3e (diff)
downloadgo-git-641ee1dd69d3b8616127623e4b9341f4f4196d12.tar.gz
Merge pull request #125 from cristaloleg/minor-linter-fixes
*: minor linter fixes
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository_test.go b/repository_test.go
index 112561e..6a6ab9e 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{