diff options
Diffstat (limited to 'worktree_test.go')
-rw-r--r-- | worktree_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/worktree_test.go b/worktree_test.go index 045a76d..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) @@ -1675,6 +1675,7 @@ func (s *WorktreeSuite) TestClean(c *C) { // Status before cleaning. status, err := wt.Status() + c.Assert(err, IsNil) c.Assert(len(status), Equals, 2) err = wt.Clean(&CleanOptions{}) |