Skip to content

Commit 0cc7554

Browse files
committed
github: scripts: tests: Use the actual rule on the affected test case
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent f8236d5 commit 0cc7554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/tests/test_commit_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def test_valid_test_file_changes():
611611
Generic prefixes like "tests:" are acceptable for test-related changes.
612612
"""
613613
commit = make_commit(
614-
"tests: add unit test\n\nSigned-off-by: User",
614+
"tests: test_router: add unit test\n\nSigned-off-by: User",
615615
["tests/unit/test_router.c"]
616616
)
617617
ok, _ = validate_commit(commit)

0 commit comments

Comments
 (0)