diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-06-28 00:51:17 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-06-28 00:51:17 +0200 |
| commit | 4b9cbd78fd266767f6bdf55257c4ee2b1611bbe0 (patch) | |
| tree | c24eb3413b2e5dff1fb84b3740329280da4f5229 /push_test.go | |
| parent | ba0a24087a8cd1a354872c95f3efe0224ea84b4b (diff) | |
Create a RemoteCollection for managing remotes
Instead of making the 'Remote' part of the function calls, create a
collection object which serves to namespace the operations for the
remotes.
Diffstat (limited to 'push_test.go')
| -rw-r--r-- | push_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/push_test.go b/push_test.go index 4686c65..a9fc90d 100644 --- a/push_test.go +++ b/push_test.go @@ -11,7 +11,7 @@ func TestRemotePush(t *testing.T) { localRepo := createTestRepo(t) defer cleanupTestRepo(t, localRepo) - remote, err := localRepo.CreateRemote("test_push", repo.Path()) + remote, err := localRepo.Remotes.Create("test_push", repo.Path()) checkFatal(t, err) seedTestRepo(t, localRepo) |
