diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-08 07:15:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 07:15:57 +0800 |
commit | b30720ee4d9762a03eae4fa7cfa4b0190d81784d (patch) | |
tree | e4db57c467db566901d53881012f1ccfe3ca9d4a /test/test_submodule.py | |
parent | b3166ece31bfb29e89f6ed4bb9214bf1c03791df (diff) | |
parent | dde3a8bd9229ff25ec8bc03c35d937f43233f48e (diff) | |
download | gitpython-b30720ee4d9762a03eae4fa7cfa4b0190d81784d.tar.gz |
Merge pull request #1438 from luzpaz/typos
Fix various typos
Diffstat (limited to 'test/test_submodule.py')
-rw-r--r-- | test/test_submodule.py | 4 |
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] |