This commit is contained in:
Shunta Komatsu 2020-05-04 14:16:53 +09:00
parent 0c481ea51d
commit c2375f2fa8
2 changed files with 7 additions and 7 deletions

View file

@ -118,7 +118,7 @@ def test_check_args_length_error_too_many_plural():
)
def test_check_args_length_error_too_many_singluar():
def test_check_args_length_error_too_many_singular():
with pytest.raises(SystemExit) as excinfo:
hook_impl._check_args_length('commit-msg', [])
msg, = excinfo.value.args