We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abd0083 + 0499511 commit 56244c4Copy full SHA for 56244c4
homu/tests/test_parse_issue_comment.py
@@ -497,6 +497,20 @@ def test_multiple_hooks():
497
assert thirdhook_commands[0].hook_extra is None
498
499
500
+def test_similar_name():
501
+ """
502
+ Test that a username that starts with 'bors' doesn't trigger.
503
504
+
505
+ author = "jack"
506
+ body = """
507
+ @bors-servo r+
508
509
+ commands = parse_issue_comment(author, body, commit, "bors")
510
511
+ assert len(commands) == 0
512
513
514
def test_parse_up_to_first_unknown_word():
515
"""
516
Test that when parsing, once we arrive at an unknown word, we stop parsing
0 commit comments