Skip to content

Commit 600d2f6

Browse files
committed
fix: update commit_test.py
1 parent c5945aa commit 600d2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/commit_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_check_commit_msg_no_commit_msg_file(mocker):
4242

4343
checks = [{"regex": ".*", "check": "message", "error": "Invalid", "suggest": None}]
4444

45-
result = check_commit_msg(checks, commit_msg_file=None)
45+
result = check_commit_msg(checks, commit_msg_file="")
4646

4747
mock_get_default_commit_msg_file.assert_called_once()
4848
mock_read_commit_msg.assert_called_once_with(".git/COMMIT_EDITMSG")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy