summaryrefslogtreecommitdiff
path: root/test/test_submodule.py
diff options
context:
space:
mode:
authorluz paz <luzpaz@pm.me>2022-05-07 15:59:10 -0400
committerluz paz <luzpaz@pm.me>2022-05-07 15:59:10 -0400
commitdde3a8bd9229ff25ec8bc03c35d937f43233f48e (patch)
treee4db57c467db566901d53881012f1ccfe3ca9d4a /test/test_submodule.py
parentb3166ece31bfb29e89f6ed4bb9214bf1c03791df (diff)
downloadgitpython-dde3a8bd9229ff25ec8bc03c35d937f43233f48e.tar.gz
Fix various typos
Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
Diffstat (limited to 'test/test_submodule.py')
-rw-r--r--test/test_submodule.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_submodule.py b/test/test_submodule.py
index 3307bc78..a79123dc 100644
--- a/test/test_submodule.py
+++ b/test/test_submodule.py
@@ -546,7 +546,7 @@ class TestSubmodule(TestBase):
assert nsm.module().head.commit.hexsha == nsm.hexsha
nsm.module().index.add([nsm])
nsm.module().index.commit("added new file")
- rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doens't fail
+ rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doesn't fail
# Everything we can do from now on will trigger the 'future' check, so no is_dirty() check will even run
# This would only run if our local branch is in the past and we have uncommitted changes
@@ -730,7 +730,7 @@ class TestSubmodule(TestBase):
assert parent.head.commit.tree[sm.path].binsha == sm.binsha
assert sm_too.binsha == sm.binsha, "cached submodule should point to the same commit as updated one"
- added_bies = parent.index.add([sm]) # addded base-index-entries
+ added_bies = parent.index.add([sm]) # added base-index-entries
assert len(added_bies) == 1
parent.index.commit("add same submodule entry")
commit_sm = parent.head.commit.tree[sm.path]