aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-26 01:23:18 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-26 01:23:18 +0100
commita2e49a59782a50a9ff116c6d17c6e3888502f2ad (patch)
treefe423602d05ff2a0b7bf5550c21fee223de13f9b /repository_test.go
parent688e802814f791a8723874dc88437bd8d140e103 (diff)
downloadgo-git-a2e49a59782a50a9ff116c6d17c6e3888502f2ad.tar.gz
repository
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go15
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)
+}