summaryrefslogtreecommitdiff
path: root/push_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-28 01:12:32 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-28 01:12:32 +0200
commit01a2d8d38d4683c6e29da21240ffff7ae7b3a680 (patch)
tree6bc5088c1e062ab02a97e5f49bbe6f58159ba126 /push_test.go
parentd2808d16101e113096b3a1c02e3f91122de74f15 (diff)
Create a ReferenceCollection for managing references
As with the other commits, this clears up the clutter in naming and around the Repository's API.
Diffstat (limited to 'push_test.go')
-rw-r--r--push_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/push_test.go b/push_test.go
index a9fc90d..8f6e806 100644
--- a/push_test.go
+++ b/push_test.go
@@ -19,9 +19,9 @@ func TestRemotePush(t *testing.T) {
err = remote.Push([]string{"refs/heads/master"}, nil)
checkFatal(t, err)
- _, err = localRepo.LookupReference("refs/remotes/test_push/master")
+ _, err = localRepo.References.Lookup("refs/remotes/test_push/master")
checkFatal(t, err)
- _, err = repo.LookupReference("refs/heads/master")
+ _, err = repo.References.Lookup("refs/heads/master")
checkFatal(t, err)
}