summaryrefslogtreecommitdiff
path: root/git/test/test_remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_remote.py')
-rw-r--r--git/test/test_remote.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_remote.py b/git/test/test_remote.py
index a7f1be22..b1248096 100644
--- a/git/test/test_remote.py
+++ b/git/test/test_remote.py
@@ -199,6 +199,10 @@ class TestRemote(TestBase):
# ... with respec and no target
res = fetch_and_test(remote, refspec='master')
assert len(res) == 1
+
+ # ... multiple refspecs
+ res = fetch_and_test(remote, refspec=['master', 'fred'])
+ assert len(res) == 1
# add new tag reference
rtag = TagReference.create(remote_repo, "1.0-RV_hello.there")