summaryrefslogtreecommitdiff
path: root/test/git/test_refs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_refs.py')
-rw-r--r--test/git/test_refs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_refs.py b/test/git/test_refs.py
index 32a6de1c..8fa30aa1 100644
--- a/test/git/test_refs.py
+++ b/test/git/test_refs.py
@@ -223,10 +223,10 @@ class TestRefs(TestBase):
assert active_branch != rw_repo.active_branch
assert new_head == rw_repo.active_branch
- # checkout with force has we have a change
+ # checkout with force as we have a changed a file
# clear file
open(new_head.commit.tree.blobs[-1].abspath,'w').close()
- assert len(new_head.commit.diff(None)) == 1
+ assert len(new_head.commit.diff(None))
# create a new branch that is likely to touch the file we changed
far_away_head = rw_repo.create_head("far_head",'HEAD~100')