diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/repository_test.go b/repository_test.go new file mode 100644 index 0000000..d0701fa --- /dev/null +++ b/repository_test.go @@ -0,0 +1,15 @@ +package git + +import . "gopkg.in/check.v1" + +type SuiteRepository struct{} + +var _ = Suite(&SuiteRepository{}) + +func (s *SuiteRepository) TestPull(c *C) { + r, err := NewRepository(RepositoryFixture) + c.Assert(err, IsNil) + c.Assert(r.Pull("origin", "refs/heads/master"), IsNil) + + //fmt.Println(r.Storage) +} |