summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/git/refs.py2
-rw-r--r--test/git/test_refs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/refs.py b/lib/git/refs.py
index be6ec5e3..af7284ff 100644
--- a/lib/git/refs.py
+++ b/lib/git/refs.py
@@ -640,7 +640,7 @@ class HEAD(SymbolicReference):
:param paths:
Single path or list of paths relative to the git root directory
- that are to be reset. This allow to partially reset individual files.
+ that are to be reset. This allows to partially reset individual files.
:param kwargs:
Additional arguments passed to git-reset.
diff --git a/test/git/test_refs.py b/test/git/test_refs.py
index 99a66fc2..5f13d0b7 100644
--- a/test/git/test_refs.py
+++ b/test/git/test_refs.py
@@ -78,7 +78,7 @@ class TestRefs(TestBase):
types_found = set()
for ref in self.rorepo.refs:
types_found.add(type(ref))
- assert len(types_found) == 3
+ assert len(types_found) >= 3
def test_is_valid(self):
assert Reference(self.rorepo, 'refs/doesnt/exist').is_valid() == False