Skip to content

Commit 4fcf0db

Browse files
committed
Remove test prefix from two tests
1 parent 528842c commit 4fcf0db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bors/handlers/help.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mod tests {
2828
use crate::tests::mocks::run_test;
2929

3030
#[sqlx::test]
31-
async fn test_help(pool: sqlx::PgPool) {
31+
async fn help_command(pool: sqlx::PgPool) {
3232
run_test(pool, |mut tester| async {
3333
tester.post_comment("@bors help").await;
3434
assert_eq!(tester.get_comment().await, HELP_MESSAGE);

src/bors/handlers/ping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod tests {
2020
use crate::tests::mocks::run_test;
2121

2222
#[sqlx::test]
23-
async fn test_ping(pool: sqlx::PgPool) {
23+
async fn ping_command(pool: sqlx::PgPool) {
2424
run_test(pool, |mut tester| async {
2525
tester.post_comment("@bors ping").await;
2626
assert_eq!(tester.get_comment().await, "Pong 🏓!");

0 commit comments

Comments
 (0)