diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-05-04 00:09:55 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-05-04 00:09:55 +0200 |
commit | 5592dabdf9eed67c92b0e411ad375ae763119fd2 (patch) | |
tree | d8d41fed6cfdccbb7ac1794fac43c4ec6e7f159e /worktree_test.go | |
parent | 2e092f909f643ef455d84dfa59282f0f0adf3c7a (diff) | |
download | go-git-5592dabdf9eed67c92b0e411ad375ae763119fd2.tar.gz |
worktree: Status return untracked for untracked files
Diffstat (limited to 'worktree_test.go')
-rw-r--r-- | worktree_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) } |