aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-27 09:30:04 +0200
committerGitHub <noreply@github.com>2017-07-27 09:30:04 +0200
commitc2561364e33763d3356a23c5850424a334de30e9 (patch)
tree76e38753b585d86643824f14f5c970db65046b45 /worktree_commit_test.go
parent6b8d9f6d6bcf7f4282e5e4d7133f357d15ddc074 (diff)
parentab590eb89849a0319b8c5a4d7fd980137da7180d (diff)
downloadgo-git-c2561364e33763d3356a23c5850424a334de30e9.tar.gz
Merge pull request #513 from mcuadros/worktree-fs
worktree: expose underlying filesystem
Diffstat (limited to 'worktree_commit_test.go')
-rw-r--r--worktree_commit_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/worktree_commit_test.go b/worktree_commit_test.go
index 8f3b7b0..f6744bc 100644
--- a/worktree_commit_test.go
+++ b/worktree_commit_test.go
@@ -54,8 +54,8 @@ func (s *WorktreeSuite) TestCommitParent(c *C) {
fs := memfs.New()
w := &Worktree{
- r: s.Repository,
- fs: fs,
+ r: s.Repository,
+ Filesystem: fs,
}
err := w.Checkout(&CheckoutOptions{})
@@ -78,8 +78,8 @@ func (s *WorktreeSuite) TestCommitAll(c *C) {
fs := memfs.New()
w := &Worktree{
- r: s.Repository,
- fs: fs,
+ r: s.Repository,
+ Filesystem: fs,
}
err := w.Checkout(&CheckoutOptions{})