diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-21 06:24:22 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2019-07-29 17:34:49 +0200 |
commit | e5c9c0dd9ff1f42dcdaba7a51919cf43abdb79f9 (patch) | |
tree | b6e968170f14360f8ed6bc5820788db847ba93b9 /worktree_test.go | |
parent | bfe45eef34bfad73dc9c5255ac8f06ae19501554 (diff) | |
download | go-git-e5c9c0dd9ff1f42dcdaba7a51919cf43abdb79f9.tar.gz |
*: avoid unnecessary conversions
No need to convert these values, they're already of the right type.
Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
(cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346)
Diffstat (limited to 'worktree_test.go')
-rw-r--r-- | worktree_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree_test.go b/worktree_test.go index 1f87957..dab1c23 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -432,7 +432,7 @@ func (s *WorktreeSuite) TestFilenameNormalization(c *C) { err = w.Filesystem.Remove(filename) c.Assert(err, IsNil) - modFilename := norm.Form(norm.NFKD).String(filename) + modFilename := norm.NFKD.String(filename) writeFile(modFilename) _, err = w.Add(filename) |