From 5592dabdf9eed67c92b0e411ad375ae763119fd2 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 4 May 2017 00:09:55 +0200 Subject: worktree: Status return untracked for untracked files --- worktree_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'worktree_test.go') diff --git a/worktree_test.go b/worktree_test.go index 1da86c9..68760f2 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -287,6 +287,7 @@ func (s *WorktreeSuite) TestStatus(c *C) { status, err := w.Status() c.Assert(err, IsNil) + c.Assert(status.IsClean(), Equals, false) c.Assert(status, HasLen, 9) } -- cgit