@@ -167,7 +167,7 @@ def update(self, op_code, cur_count, max_count=None, message=""):
167167 open (new_file_path , "wb" ).close () # create new file in working tree
168168 cloned_repo .index .add ([new_file_path ]) # add it to the index
169169 # Commit the changes to deviate masters history
170- cloned_repo .index .commit ("Added a new file in the past - for later merege " )
170+ cloned_repo .index .commit ("Added a new file in the past - for later merge " )
171171
172172 # prepare a merge
173173 master = cloned_repo .heads .master # right-hand side is ahead of us, in the future
@@ -198,7 +198,7 @@ def update(self, op_code, cur_count, max_count=None, message=""):
198198
199199 # .gitmodules was written and added to the index, which is now being committed
200200 cloned_repo .index .commit ("Added submodule" )
201- assert sm .exists () and sm .module_exists () # this submodule is defintely available
201+ assert sm .exists () and sm .module_exists () # this submodule is definitely available
202202 sm .remove (module = True , configuration = False ) # remove the working tree
203203 assert sm .exists () and not sm .module_exists () # the submodule itself is still available
204204
@@ -263,9 +263,9 @@ def test_references_and_objects(self, rw_dir):
263263 # [8-test_references_and_objects]
264264 hc = repo .head .commit
265265 hct = hc .tree
266- hc != hct # noqa: B015 # @NoEffect
267- hc != repo .tags [0 ] # noqa: B015 # @NoEffect
268- hc == repo .head .reference .commit # noqa: B015 # @NoEffect
266+ assert hc != hct
267+ assert hc != repo .tags [0 ]
268+ assert hc == repo .head .reference .commit
269269 # ![8-test_references_and_objects]
270270
271271 # [9-test_references_and_objects]
0 commit comments