Skip to content

Commit

Permalink
test(test_check_command): add multi-line no conventional commit testdata
Browse files Browse the repository at this point in the history
The original cz schema of check the first line.
  • Loading branch information
Bogay authored and Lee-W committed Jul 26, 2022
1 parent a2137ac commit fc4ebc8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/commands/test_check_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ def test_check_conventional_commit_succeeds(mocker, capsys):
(
"feat!(lang): removed polish language",
"no conventional commit",
(
"ci: check commit message on merge\n"
"testing with more complex commit mes\n\n"
"age with error"
),
),
)
def test_check_no_conventional_commit(commit_msg, config, mocker, tmpdir):
Expand Down

0 comments on commit fc4ebc8

Please sign in to comment.