Skip to content

Commit fc4ebc8

Browse files
BogayLee-W
authored andcommitted
test(test_check_command): add multi-line no conventional commit testdata
The original cz schema of check the first line.
1 parent a2137ac commit fc4ebc8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/commands/test_check_command.py

+5
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ def test_check_conventional_commit_succeeds(mocker, capsys):
129129
(
130130
"feat!(lang): removed polish language",
131131
"no conventional commit",
132+
(
133+
"ci: check commit message on merge\n"
134+
"testing with more complex commit mes\n\n"
135+
"age with error"
136+
),
132137
),
133138
)
134139
def test_check_no_conventional_commit(commit_msg, config, mocker, tmpdir):

0 commit comments

Comments
 (0)