Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit f7434f5

Browse files
authored
Merge pull request #298 from camelid/underscore-to-hyphen
rust_highfive -> rust-highfive
2 parents a8262a2 + 9c48740 commit f7434f5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

highfive/newpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
submodule_warning_msg = 'These commits modify **submodules**.'
3232
surprise_branch_warning = "Pull requests are usually filed against the %s branch for this repo, but this one is against %s. Please double check that you specified the right target!"
3333

34-
review_with_reviewer = 'r? @%s\n\n(rust_highfive has picked a reviewer for you, use r? to override)'
34+
review_with_reviewer = 'r? @%s\n\n(rust-highfive has picked a reviewer for you, use r? to override)'
3535
review_without_reviewer = '@%s: no appropriate reviewer found, use r? to override'
3636

3737
reviewer_re = re.compile("\\b[rR]\?[:\- ]*@([a-zA-Z0-9\-]+)")

highfive/tests/test_integration_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_new_pr_contributor(self):
185185
(
186186
(
187187
'POST', newpr.post_comment_url % ('rust-lang', 'rust', '7'),
188-
{'body': 'r? @nrc\n\n(rust_highfive has picked a reviewer for you, use r? to override)'}
188+
{'body': 'r? @nrc\n\n(rust-highfive has picked a reviewer for you, use r? to override)'}
189189
),
190190
{'body': {}},
191191
),
@@ -229,7 +229,7 @@ def test_new_pr_contributor_with_labels(self):
229229
(
230230
(
231231
'POST', newpr.post_comment_url % ('rust-lang', 'rust', '7'),
232-
{'body': 'r? @nrc\n\n(rust_highfive has picked a reviewer for you, use r? to override)'}
232+
{'body': 'r? @nrc\n\n(rust-highfive has picked a reviewer for you, use r? to override)'}
233233
),
234234
{'body': {}},
235235
),

highfive/tests/test_newpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_review_msg(self):
157157

158158
# Has reviewer.
159159
assert handler.review_msg('userA', 'userB') == \
160-
'r? @userA\n\n(rust_highfive has picked a reviewer for you, use r? to override)'
160+
'r? @userA\n\n(rust-highfive has picked a reviewer for you, use r? to override)'
161161

162162
@mock.patch('os.path.dirname')
163163
def test_load_json_file(self, mock_dirname):

0 commit comments

Comments
 (0)