Skip to content

Commit 8a0ab6c

Browse files
committed
refactor(test): fix typos
1 parent 1c24567 commit 8a0ab6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/commands/test_check_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def test_check_command_with_pipe_message_and_failed(mocker: MockFixture):
365365
assert "commit validation: failed!" in str(excinfo.value)
366366

367367

368-
def test_check_command_with_comment_in_messege_file(mocker: MockFixture, capsys):
368+
def test_check_command_with_comment_in_message_file(mocker: MockFixture, capsys):
369369
testargs = ["cz", "check", "--commit-msg-file", "some_file"]
370370
mocker.patch.object(sys, "argv", testargs)
371371
mocker.patch(

tests/commands/test_init_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def check_pre_commit_config(expected: list[dict[str, Any]]):
183183

184184
@pytest.mark.usefixtures("pre_commit_installed")
185185
class TestPreCommitCases:
186-
def test_no_existing_pre_commit_conifg(_, default_choice, tmpdir, config):
186+
def test_no_existing_pre_commit_config(_, default_choice, tmpdir, config):
187187
with tmpdir.as_cwd():
188188
commands.Init(config)()
189189
check_cz_config(default_choice)

0 commit comments

Comments
 (0)