aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-05-04 00:09:55 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-05-04 00:09:55 +0200
commit5592dabdf9eed67c92b0e411ad375ae763119fd2 (patch)
treed8d41fed6cfdccbb7ac1794fac43c4ec6e7f159e /worktree_test.go
parent2e092f909f643ef455d84dfa59282f0f0adf3c7a (diff)
downloadgo-git-5592dabdf9eed67c92b0e411ad375ae763119fd2.tar.gz
worktree: Status return untracked for untracked files
Diffstat (limited to 'worktree_test.go')
-rw-r--r--worktree_test.go1
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)
}